Royal Blue

#5F5FEC

Blue

Color Codes

All color formats for development

HEX
#5F5FEC
RGB
rgb(95, 95, 236)
HSL
hsl(240, 79%, 65%)
OKLCH
oklch(0.567 0.207 277.5)
CMYK
cmyk(60%, 60%, 0%, 7%)

Accessibility

WCAG contrast compliance

On White Background

4.84:1

AA AAA

On Black Background

4.33:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F1F1
100
#DFDF
200
#C4C4
300
#9696
400
#5F5F
500
#3232
600
#1818
700
#1313
800
#0D0D
900
#0909
950
#0505

Shades

Darker variations

1#4242E9
2#2424E5
3#1818D0
4#1515B2
5#111194
6#0E0E77
7#0A0A59
8#07073B
9#03031E

Tints

Lighter variations

1#6F6FEE
2#7F7FF0
3#8F8FF2
4#9F9FF4
5#AFAFF6
6#BFBFF8
7#CFCFF9
8#DFDFFB
9#EFEFFD

Tones

Muted variations

1#6666E5
2#6D6DDE
3#7474D7
4#7B7BD0
5#8282C9
6#8A8AC2
7#9191BB
8#9898B4
9#9F9FAD

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F1F1
#F1F1FD
BackgroundsSubtle highlightsCard backgrounds
100
DFDF
#DFDFFB
Light backgroundsTable row hoverSkeleton loading
200
C4C4
#C4C4F8
Secondary backgroundsInput backgroundsDividers
300
9696
#9696F3
BordersInactive statesPlaceholder text
400
5F5F
#5F5FEC
Disabled statesSecondary iconsMuted text
500
3232
#3232E7
Primary brand colorCTAsActive elementsLinks
600
1818
#1818C9
Hover statesFocus ringsPrimary buttons hover
700
1313
#1313A0
Active/pressed statesDark mode accentsSecondary text
800
0D0D
#0D0D72
Text on light backgroundsHeadingsStrong borders
900
0909
#090949
Primary textHigh emphasis contentDark headings
950
0505
#05052E
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F1F1FD;
  --royal-blue-100: #DFDFFB;
  --royal-blue-200: #C4C4F8;
  --royal-blue-300: #9696F3;
  --royal-blue-400: #5F5FEC;
  --royal-blue-500: #3232E7;
  --royal-blue-600: #1818C9;
  --royal-blue-700: #1313A0;
  --royal-blue-800: #0D0D72;
  --royal-blue-900: #090949;
  --royal-blue-950: #05052E;
}
Generate More ShadesCreate PaletteConvert Color