Royal Blue

#802DEB

Purple

Color Codes

All color formats for development

HEX
#802DEB
RGB
rgb(128, 45, 235)
HSL
hsl(266, 83%, 55%)
OKLCH
oklch(0.532 0.256 295.9)
CMYK
cmyk(46%, 81%, 0%, 8%)

Accessibility

WCAG contrast compliance

On White Background

6.01:1

AA AAA

On Black Background

3.49:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F7F1
100
#EBDE
200
#DAC2
300
#BE94
400
#9C5C
500
#802D
600
#6413
700
#4F0F
800
#390B
900
#2407
950
#1704

Shades

Darker variations

1#7015E7
2#6413CD
3#5711B4
4#4B0E9A
5#3E0C80
6#320A67
7#25074D
8#190533
9#0C021A

Tints

Lighter variations

1#8C42ED
2#9957EF
3#A66CF1
4#B381F3
5#BF96F5
6#CCABF7
7#D9C0F9
8#E6D5FB
9#F2EAFD

Tones

Muted variations

1#8137E2
2#8240D8
3#834ACF
4#8553C5
5#865DBC
6#8766B2
7#8870A9
8#8A799F
9#8B8396

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F7F1
#F7F1FE
BackgroundsSubtle highlightsCard backgrounds
100
EBDE
#EBDEFC
Light backgroundsTable row hoverSkeleton loading
200
DAC2
#DAC2F9
Secondary backgroundsInput backgroundsDividers
300
BE94
#BE94F5
BordersInactive statesPlaceholder text
400
9C5C
#9C5CF0
Disabled statesSecondary iconsMuted text
500
802D
#802DEB
Primary brand colorCTAsActive elementsLinks
600
6413
#6413CD
Hover statesFocus ringsPrimary buttons hover
700
4F0F
#4F0FA3
Active/pressed statesDark mode accentsSecondary text
800
390B
#390B75
Text on light backgroundsHeadingsStrong borders
900
2407
#24074B
Primary textHigh emphasis contentDark headings
950
1704
#17042F
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F7F1FE;
  --royal-blue-100: #EBDEFC;
  --royal-blue-200: #DAC2F9;
  --royal-blue-300: #BE94F5;
  --royal-blue-400: #9C5CF0;
  --royal-blue-500: #802DEB;
  --royal-blue-600: #6413CD;
  --royal-blue-700: #4F0FA3;
  --royal-blue-800: #390B75;
  --royal-blue-900: #24074B;
  --royal-blue-950: #17042F;
}
Generate More ShadesCreate PaletteConvert Color