Royal Blue

#2F54E9

Blue

Color Codes

All color formats for development

HEX
#2F54E9
RGB
rgb(47, 84, 233)
HSL
hsl(228, 81%, 55%)
OKLCH
oklch(0.52 0.228 266.8)
CMYK
cmyk(80%, 64%, 0%, 9%)

Accessibility

WCAG contrast compliance

On White Background

5.89: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
#95A8
400
#5D7A
500
#2F54
600
#153A
700
#112E
800
#0C21
900
#0815
950
#050D

Shades

Darker variations

1#1841E4
2#153ACB
3#1332B2
4#102B98
5#0D247F
6#0B1D66
7#08164C
8#050E33
9#030719

Tints

Lighter variations

1#4466EB
2#5977EE
3#6E88F0
4#8299F2
5#97AAF4
6#ACBBF6
7#C1CCF8
8#D5DDFB
9#EAEEFD

Tones

Muted variations

1#395AE0
2#4260D7
3#4B65CD
4#546BC4
5#5E70BB
6#6776B1
7#707CA8
8#7A819F
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
95A8
#95A8F4
BordersInactive statesPlaceholder text
400
5D7A
#5D7AEE
Disabled statesSecondary iconsMuted text
500
2F54
#2F54E9
Primary brand colorCTAsActive elementsLinks
600
153A
#153ACB
Hover statesFocus ringsPrimary buttons hover
700
112E
#112EA2
Active/pressed statesDark mode accentsSecondary text
800
0C21
#0C2173
Text on light backgroundsHeadingsStrong borders
900
0815
#08154A
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: #95A8F4;
  --royal-blue-400: #5D7AEE;
  --royal-blue-500: #2F54E9;
  --royal-blue-600: #153ACB;
  --royal-blue-700: #112EA2;
  --royal-blue-800: #0C2173;
  --royal-blue-900: #08154A;
  --royal-blue-950: #050D2E;
}
Generate More ShadesCreate PaletteConvert Color