Royal Blue

#2E54EA

Blue

Color Codes

All color formats for development

HEX
#2E54EA
RGB
rgb(46, 84, 234)
HSL
hsl(228, 82%, 55%)
OKLCH
oklch(0.521 0.229 266.7)
CMYK
cmyk(80%, 64%, 0%, 8%)

Accessibility

WCAG contrast compliance

On White Background

5.88:1

AA AAA

On Black Background

3.57:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F1F4
100
#DFE4
200
#C3CE
300
#94A7
400
#5D7A
500
#2E54
600
#1439
700
#102D
800
#0B20
900
#0715
950
#050D

Shades

Darker variations

1#1740E6
2#1439CC
3#1232B3
4#0F2B99
5#0D2480
6#0A1C66
7#08154D
8#050E33
9#03071A

Tints

Lighter variations

1#4365EC
2#5876EE
3#6D87F1
4#8298F3
5#97A9F5
6#ABBBF7
7#C0CCF9
8#D5DDFB
9#EAEEFD

Tones

Muted variations

1#3859E1
2#415FD8
3#4A65CE
4#546AC5
5#5D70BB
6#6776B2
7#707BA8
8#79819F
9#838796

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F1F4
#F1F4FE
BackgroundsSubtle highlightsCard backgrounds
100
DFE4
#DFE4FC
Light backgroundsTable row hoverSkeleton loading
200
C3CE
#C3CEF9
Secondary backgroundsInput backgroundsDividers
300
94A7
#94A7F4
BordersInactive statesPlaceholder text
400
5D7A
#5D7AEF
Disabled statesSecondary iconsMuted text
500
2E54
#2E54EA
Primary brand colorCTAsActive elementsLinks
600
1439
#1439CC
Hover statesFocus ringsPrimary buttons hover
700
102D
#102DA2
Active/pressed statesDark mode accentsSecondary text
800
0B20
#0B2074
Text on light backgroundsHeadingsStrong borders
900
0715
#07154A
Primary textHigh emphasis contentDark headings
950
050D
#050D2E
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F1F4FE;
  --royal-blue-100: #DFE4FC;
  --royal-blue-200: #C3CEF9;
  --royal-blue-300: #94A7F4;
  --royal-blue-400: #5D7AEF;
  --royal-blue-500: #2E54EA;
  --royal-blue-600: #1439CC;
  --royal-blue-700: #102DA2;
  --royal-blue-800: #0B2074;
  --royal-blue-900: #07154A;
  --royal-blue-950: #050D2E;
}
Generate More ShadesCreate PaletteConvert Color