Royal Blue

#6334E5

Purple

Color Codes

All color formats for development

HEX
#6334E5
RGB
rgb(99, 52, 229)
HSL
hsl(256, 77%, 55%)
OKLCH
oklch(0.504 0.244 285.8)
CMYK
cmyk(57%, 77%, 0%, 10%)

Accessibility

WCAG contrast compliance

On White Background

6.66:1

AA AAA

On Black Background

3.15:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F5F1
100
#E7DF
200
#D2C4
300
#AF97
400
#8661
500
#6334
600
#481A
700
#3915
800
#290F
900
#1A09
950
#1006

Shades

Darker variations

1#511DDF
2#481AC7
3#3F17AE
4#361395
5#2D107C
6#240D63
7#1B0A4A
8#120632
9#090319

Tints

Lighter variations

1#7348E7
2#825DEA
3#9271ED
4#A185EF
5#B199F2
6#C1AEF4
7#D0C2F7
8#E0D6FA
9#EFEBFC

Tones

Muted variations

1#673DDC
2#6B46D3
3#6F4ECA
4#7457C1
5#7860B8
6#7C69B0
7#8072A7
8#847B9E
9#888395

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F5F1
#F5F1FD
BackgroundsSubtle highlightsCard backgrounds
100
E7DF
#E7DFFB
Light backgroundsTable row hoverSkeleton loading
200
D2C4
#D2C4F7
Secondary backgroundsInput backgroundsDividers
300
AF97
#AF97F2
BordersInactive statesPlaceholder text
400
8661
#8661EA
Disabled statesSecondary iconsMuted text
500
6334
#6334E5
Primary brand colorCTAsActive elementsLinks
600
481A
#481AC7
Hover statesFocus ringsPrimary buttons hover
700
3915
#39159E
Active/pressed statesDark mode accentsSecondary text
800
290F
#290F71
Text on light backgroundsHeadingsStrong borders
900
1A09
#1A0948
Primary textHigh emphasis contentDark headings
950
1006
#10062D
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F5F1FD;
  --royal-blue-100: #E7DFFB;
  --royal-blue-200: #D2C4F7;
  --royal-blue-300: #AF97F2;
  --royal-blue-400: #8661EA;
  --royal-blue-500: #6334E5;
  --royal-blue-600: #481AC7;
  --royal-blue-700: #39159E;
  --royal-blue-800: #290F71;
  --royal-blue-900: #1A0948;
  --royal-blue-950: #10062D;
}
Generate More ShadesCreate PaletteConvert Color