Royal Blue

#5E20F8

Purple

Color Codes

All color formats for development

HEX
#5E20F8
RGB
rgb(94, 32, 248)
HSL
hsl(257, 94%, 55%)
OKLCH
oklch(0.501 0.278 282.9)
CMYK
cmyk(62%, 87%, 0%, 3%)

Accessibility

WCAG contrast compliance

On White Background

6.91:1

AA AAA

On Black Background

3.04:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F4F0
100
#E6DC
200
#D0BF
300
#AC8D
400
#8152
500
#5E20
600
#4207
700
#3505
800
#2604
900
#1802
950
#0F02

Shades

Darker variations

1#4B08F5
2#4207DA
3#3A06BE
4#3205A3
5#2A0488
6#21036D
7#190352
8#110236
9#08011B

Tints

Lighter variations

1#6E37F9
2#7E4DF9
3#8E63FA
4#9E79FB
5#AE90FC
6#BEA6FC
7#CFBCFD
8#DFD2FE
9#EFE9FE

Tones

Muted variations

1#622BED
2#6736E3
3#6C41D8
4#704CCD
5#7556C2
6#7A61B7
7#7E6CAD
8#8377A2
9#888197

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F4F0
#F4F0FF
BackgroundsSubtle highlightsCard backgrounds
100
E6DC
#E6DCFE
Light backgroundsTable row hoverSkeleton loading
200
D0BF
#D0BFFD
Secondary backgroundsInput backgroundsDividers
300
AC8D
#AC8DFB
BordersInactive statesPlaceholder text
400
8152
#8152FA
Disabled statesSecondary iconsMuted text
500
5E20
#5E20F8
Primary brand colorCTAsActive elementsLinks
600
4207
#4207DA
Hover statesFocus ringsPrimary buttons hover
700
3505
#3505AD
Active/pressed statesDark mode accentsSecondary text
800
2604
#26047C
Text on light backgroundsHeadingsStrong borders
900
1802
#18024F
Primary textHigh emphasis contentDark headings
950
0F02
#0F0231
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F4F0FF;
  --royal-blue-100: #E6DCFE;
  --royal-blue-200: #D0BFFD;
  --royal-blue-300: #AC8DFB;
  --royal-blue-400: #8152FA;
  --royal-blue-500: #5E20F8;
  --royal-blue-600: #4207DA;
  --royal-blue-700: #3505AD;
  --royal-blue-800: #26047C;
  --royal-blue-900: #18024F;
  --royal-blue-950: #0F0231;
}
Generate More ShadesCreate PaletteConvert Color