Royal Blue

#702EEA

Purple

Color Codes

All color formats for development

HEX
#702EEA
RGB
rgb(112, 46, 234)
HSL
hsl(261, 82%, 55%)
OKLCH
oklch(0.515 0.254 290.3)
CMYK
cmyk(52%, 80%, 0%, 8%)

Accessibility

WCAG contrast compliance

On White Background

6.43:1

AA AAA

On Black Background

3.27:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F5F1
100
#E9DF
200
#D6C3
300
#B694
400
#905D
500
#702E
600
#5514
700
#4310
800
#300B
900
#1F07
950
#1305

Shades

Darker variations

1#5F17E6
2#5514CC
3#4A12B3
4#3F0F99
5#350D80
6#2A0A66
7#20084D
8#150533
9#0B031A

Tints

Lighter variations

1#7E43EC
2#8D58EE
3#9B6DF1
4#A982F3
5#B897F5
6#C6ABF7
7#D4C0F9
8#E2D5FB
9#F1EAFD

Tones

Muted variations

1#7338E1
2#7641D8
3#784ACE
4#7B54C5
5#7E5DBB
6#8167B2
7#8470A8
8#87799F
9#898396

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F5F1
#F5F1FE
BackgroundsSubtle highlightsCard backgrounds
100
E9DF
#E9DFFC
Light backgroundsTable row hoverSkeleton loading
200
D6C3
#D6C3F9
Secondary backgroundsInput backgroundsDividers
300
B694
#B694F4
BordersInactive statesPlaceholder text
400
905D
#905DEF
Disabled statesSecondary iconsMuted text
500
702E
#702EEA
Primary brand colorCTAsActive elementsLinks
600
5514
#5514CC
Hover statesFocus ringsPrimary buttons hover
700
4310
#4310A2
Active/pressed statesDark mode accentsSecondary text
800
300B
#300B74
Text on light backgroundsHeadingsStrong borders
900
1F07
#1F074A
Primary textHigh emphasis contentDark headings
950
1305
#13052E
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F5F1FE;
  --royal-blue-100: #E9DFFC;
  --royal-blue-200: #D6C3F9;
  --royal-blue-300: #B694F4;
  --royal-blue-400: #905DEF;
  --royal-blue-500: #702EEA;
  --royal-blue-600: #5514CC;
  --royal-blue-700: #4310A2;
  --royal-blue-800: #300B74;
  --royal-blue-900: #1F074A;
  --royal-blue-950: #13052E;
}
Generate More ShadesCreate PaletteConvert Color