Royal Blue

#862AEF

Purple

Color Codes

All color formats for development

HEX
#862AEF
RGB
rgb(134, 42, 239)
HSL
hsl(268, 86%, 55%)
OKLCH
oklch(0.54 0.263 297.4)
CMYK
cmyk(44%, 82%, 0%, 6%)

Accessibility

WCAG contrast compliance

On White Background

5.85:1

AA AAA

On Black Background

3.59:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F7F1
100
#ECDE
200
#DCC1
300
#C192
400
#A159
500
#862A
600
#6A10
700
#540C
800
#3C09
900
#2606
950
#1804

Shades

Darker variations

1#7712EB
2#6A10D1
3#5D0EB7
4#4F0C9D
5#420A82
6#350868
7#28064E
8#1A0434
9#0D021A

Tints

Lighter variations

1#923FF1
2#9E54F2
3#AA6AF4
4#B67FF5
5#C294F7
6#CEAAF9
7#DBBFFA
8#E7D4FC
9#F3EAFD

Tones

Muted variations

1#8633E5
2#873DDB
3#8847D1
4#8851C7
5#895BBE
6#8A65B4
7#8A6FAA
8#8B79A0
9#8C8296

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F7F1
#F7F1FE
BackgroundsSubtle highlightsCard backgrounds
100
ECDE
#ECDEFD
Light backgroundsTable row hoverSkeleton loading
200
DCC1
#DCC1FA
Secondary backgroundsInput backgroundsDividers
300
C192
#C192F7
BordersInactive statesPlaceholder text
400
A159
#A159F3
Disabled statesSecondary iconsMuted text
500
862A
#862AEF
Primary brand colorCTAsActive elementsLinks
600
6A10
#6A10D1
Hover statesFocus ringsPrimary buttons hover
700
540C
#540CA6
Active/pressed statesDark mode accentsSecondary text
800
3C09
#3C0977
Text on light backgroundsHeadingsStrong borders
900
2606
#26064C
Primary textHigh emphasis contentDark headings
950
1804
#18042F
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F7F1FE;
  --royal-blue-100: #ECDEFD;
  --royal-blue-200: #DCC1FA;
  --royal-blue-300: #C192F7;
  --royal-blue-400: #A159F3;
  --royal-blue-500: #862AEF;
  --royal-blue-600: #6A10D1;
  --royal-blue-700: #540CA6;
  --royal-blue-800: #3C0977;
  --royal-blue-900: #26064C;
  --royal-blue-950: #18042F;
}
Generate More ShadesCreate PaletteConvert Color