Royal Blue

#2F51E9

Blue

Color Codes

All color formats for development

HEX
#2F51E9
RGB
rgb(47, 81, 233)
HSL
hsl(229, 81%, 55%)
OKLCH
oklch(0.515 0.231 267.2)
CMYK
cmyk(80%, 65%, 0%, 9%)

Accessibility

WCAG contrast compliance

On White Background

6.04:1

AA AAA

On Black Background

3.47:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F1F3
100
#DFE4
200
#C3CD
300
#95A6
400
#5D78
500
#2F51
600
#1537
700
#112B
800
#0C1F
900
#0814
950
#050C

Shades

Darker variations

1#183DE4
2#1537CB
3#1330B2
4#102998
5#0D227F
6#0B1B66
7#08144C
8#050E33
9#030719

Tints

Lighter variations

1#4463EB
2#5974EE
3#6E85F0
4#8297F2
5#97A8F4
6#ACBAF6
7#C1CBF8
8#D5DCFB
9#EAEEFD

Tones

Muted variations

1#3957E0
2#425DD7
3#4B63CD
4#5469C4
5#5E6FBB
6#6775B1
7#707BA8
8#7A809F
9#838696

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F1F3
#F1F3FE
BackgroundsSubtle highlightsCard backgrounds
100
DFE4
#DFE4FC
Light backgroundsTable row hoverSkeleton loading
200
C3CD
#C3CDF9
Secondary backgroundsInput backgroundsDividers
300
95A6
#95A6F4
BordersInactive statesPlaceholder text
400
5D78
#5D78EE
Disabled statesSecondary iconsMuted text
500
2F51
#2F51E9
Primary brand colorCTAsActive elementsLinks
600
1537
#1537CB
Hover statesFocus ringsPrimary buttons hover
700
112B
#112BA2
Active/pressed statesDark mode accentsSecondary text
800
0C1F
#0C1F73
Text on light backgroundsHeadingsStrong borders
900
0814
#08144A
Primary textHigh emphasis contentDark headings
950
050C
#050C2E
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F1F3FE;
  --royal-blue-100: #DFE4FC;
  --royal-blue-200: #C3CDF9;
  --royal-blue-300: #95A6F4;
  --royal-blue-400: #5D78EE;
  --royal-blue-500: #2F51E9;
  --royal-blue-600: #1537CB;
  --royal-blue-700: #112BA2;
  --royal-blue-800: #0C1F73;
  --royal-blue-900: #08144A;
  --royal-blue-950: #050C2E;
}
Generate More ShadesCreate PaletteConvert Color