Royal Blue

#3040E8

Blue

Color Codes

All color formats for development

HEX
#3040E8
RGB
rgb(48, 64, 232)
HSL
hsl(235, 80%, 55%)
OKLCH
oklch(0.488 0.247 269.2)
CMYK
cmyk(79%, 72%, 0%, 9%)

Accessibility

WCAG contrast compliance

On White Background

6.94:1

AA AAA

On Black Background

3.02:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F1F2
100
#DFE1
200
#C3C8
300
#959D
400
#5E6A
500
#3040
600
#1625
700
#121E
800
#0D15
900
#080E
950
#0509

Shades

Darker variations

1#192AE3
2#1625CA
3#1421B1
4#111C97
5#0E177E
6#0B1365
7#080E4C
8#060932
9#030519

Tints

Lighter variations

1#4553EA
2#5A66ED
3#6E79EF
4#838CF1
5#989FF4
6#ACB2F6
7#C1C6F8
8#D6D9FA
9#EAECFD

Tones

Muted variations

1#3A47DF
2#434FD6
3#4C57CD
4#555EC3
5#5E66BA
6#686EB1
7#7175A8
8#7A7D9F
9#838595

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F1F2
#F1F2FD
BackgroundsSubtle highlightsCard backgrounds
100
DFE1
#DFE1FB
Light backgroundsTable row hoverSkeleton loading
200
C3C8
#C3C8F8
Secondary backgroundsInput backgroundsDividers
300
959D
#959DF3
BordersInactive statesPlaceholder text
400
5E6A
#5E6AED
Disabled statesSecondary iconsMuted text
500
3040
#3040E8
Primary brand colorCTAsActive elementsLinks
600
1625
#1625CA
Hover statesFocus ringsPrimary buttons hover
700
121E
#121EA1
Active/pressed statesDark mode accentsSecondary text
800
0D15
#0D1573
Text on light backgroundsHeadingsStrong borders
900
080E
#080E49
Primary textHigh emphasis contentDark headings
950
0509
#05092E
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F1F2FD;
  --royal-blue-100: #DFE1FB;
  --royal-blue-200: #C3C8F8;
  --royal-blue-300: #959DF3;
  --royal-blue-400: #5E6AED;
  --royal-blue-500: #3040E8;
  --royal-blue-600: #1625CA;
  --royal-blue-700: #121EA1;
  --royal-blue-800: #0D1573;
  --royal-blue-900: #080E49;
  --royal-blue-950: #05092E;
}
Generate More ShadesCreate PaletteConvert Color