Royal Blue

#2E38EA

Blue

Color Codes

All color formats for development

HEX
#2E38EA
RGB
rgb(46, 56, 234)
HSL
hsl(237, 82%, 55%)
OKLCH
oklch(0.478 0.257 269.3)
CMYK
cmyk(80%, 76%, 0%, 8%)

Accessibility

WCAG contrast compliance

On White Background

7.32:1

AA AAA

On Black Background

2.87:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F1F2
100
#DFE0
200
#C3C5
300
#9499
400
#5D64
500
#2E38
600
#141D
700
#1017
800
#0B11
900
#070B
950
#0507

Shades

Darker variations

1#1721E6
2#141DCC
3#121AB3
4#0F1699
5#0D1280
6#0A0F66
7#080B4D
8#050733
9#03041A

Tints

Lighter variations

1#434CEC
2#585FEE
3#6D73F1
4#8287F3
5#979BF5
6#ABAFF7
7#C0C3F9
8#D5D7FB
9#EAEBFD

Tones

Muted variations

1#3840E1
2#4149D8
3#4A51CE
4#5459C5
5#5D62BB
6#676AB2
7#7073A8
8#797B9F
9#838496

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F1F2
#F1F2FE
BackgroundsSubtle highlightsCard backgrounds
100
DFE0
#DFE0FC
Light backgroundsTable row hoverSkeleton loading
200
C3C5
#C3C5F9
Secondary backgroundsInput backgroundsDividers
300
9499
#9499F4
BordersInactive statesPlaceholder text
400
5D64
#5D64EF
Disabled statesSecondary iconsMuted text
500
2E38
#2E38EA
Primary brand colorCTAsActive elementsLinks
600
141D
#141DCC
Hover statesFocus ringsPrimary buttons hover
700
1017
#1017A2
Active/pressed statesDark mode accentsSecondary text
800
0B11
#0B1174
Text on light backgroundsHeadingsStrong borders
900
070B
#070B4A
Primary textHigh emphasis contentDark headings
950
0507
#05072E
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F1F2FE;
  --royal-blue-100: #DFE0FC;
  --royal-blue-200: #C3C5F9;
  --royal-blue-300: #9499F4;
  --royal-blue-400: #5D64EF;
  --royal-blue-500: #2E38EA;
  --royal-blue-600: #141DCC;
  --royal-blue-700: #1017A2;
  --royal-blue-800: #0B1174;
  --royal-blue-900: #070B4A;
  --royal-blue-950: #05072E;
}
Generate More ShadesCreate PaletteConvert Color