Royal Blue

#864EFD

Purple

Color Codes

All color formats for development

HEX
#864EFD
RGB
rgb(134, 78, 253)
HSL
hsl(259, 98%, 65%)
OKLCH
oklch(0.587 0.243 291.8)
CMYK
cmyk(47%, 69%, 0%, 1%)

Accessibility

WCAG contrast compliance

On White Background

4.64:1

AA AAA

On Black Background

4.52:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F5F0
100
#E7DC
200
#D2BD
300
#AF8B
400
#864E
500
#631C
600
#4802
700
#3902
800
#2901
900
#1A01
950
#1001

Shades

Darker variations

1#6F2DFD
2#590DFD
3#4A02E6
4#4002C5
5#3502A4
6#2A0183
7#200162
8#150142
9#0B0021

Tints

Lighter variations

1#9260FD
2#9E72FE
3#AA83FE
4#B695FE
5#C2A7FE
6#CEB8FE
7#DBCAFE
8#E7DCFF
9#F3EDFF

Tones

Muted variations

1#8957F4
2#8C60EC
3#8F69E3
4#9371DA
5#967AD1
6#9983C9
7#9C8CC0
8#9F94B7
9#A39DAE

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F5F0
#F5F0FF
BackgroundsSubtle highlightsCard backgrounds
100
E7DC
#E7DCFF
Light backgroundsTable row hoverSkeleton loading
200
D2BD
#D2BDFE
Secondary backgroundsInput backgroundsDividers
300
AF8B
#AF8BFE
BordersInactive statesPlaceholder text
400
864E
#864EFD
Disabled statesSecondary iconsMuted text
500
631C
#631CFD
Primary brand colorCTAsActive elementsLinks
600
4802
#4802DE
Hover statesFocus ringsPrimary buttons hover
700
3902
#3902B1
Active/pressed statesDark mode accentsSecondary text
800
2901
#29017E
Text on light backgroundsHeadingsStrong borders
900
1A01
#1A0151
Primary textHigh emphasis contentDark headings
950
1001
#100132
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F5F0FF;
  --royal-blue-100: #E7DCFF;
  --royal-blue-200: #D2BDFE;
  --royal-blue-300: #AF8BFE;
  --royal-blue-400: #864EFD;
  --royal-blue-500: #631CFD;
  --royal-blue-600: #4802DE;
  --royal-blue-700: #3902B1;
  --royal-blue-800: #29017E;
  --royal-blue-900: #1A0151;
  --royal-blue-950: #100132;
}
Generate More ShadesCreate PaletteConvert Color