Royal Blue

#5A20F8

Purple

Color Codes

All color formats for development

HEX
#5A20F8
RGB
rgb(90, 32, 248)
HSL
hsl(256, 94%, 55%)
OKLCH
oklch(0.498 0.279 281.6)
CMYK
cmyk(64%, 87%, 0%, 3%)

Accessibility

WCAG contrast compliance

On White Background

7.01:1

AA AAA

On Black Background

3.00:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F4F0
100
#E5DC
200
#CFBF
300
#AB8D
400
#7F52
500
#5A20
600
#3F07
700
#3205
800
#2404
900
#1702
950
#0E02

Shades

Darker variations

1#4708F5
2#3F07DA
3#3706BE
4#2F05A3
5#270488
6#1F036D
7#180352
8#100236
9#08011B

Tints

Lighter variations

1#6A37F9
2#7B4DF9
3#8B63FA
4#9C79FB
5#AC90FC
6#BDA6FC
7#CDBCFD
8#DED2FE
9#EEE9FE

Tones

Muted variations

1#5F2BED
2#6436E3
3#6941D8
4#6E4CCD
5#7356C2
6#7861B7
7#7D6CAD
8#8277A2
9#878197

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F4F0
#F4F0FF
BackgroundsSubtle highlightsCard backgrounds
100
E5DC
#E5DCFE
Light backgroundsTable row hoverSkeleton loading
200
CFBF
#CFBFFD
Secondary backgroundsInput backgroundsDividers
300
AB8D
#AB8DFB
BordersInactive statesPlaceholder text
400
7F52
#7F52FA
Disabled statesSecondary iconsMuted text
500
5A20
#5A20F8
Primary brand colorCTAsActive elementsLinks
600
3F07
#3F07DA
Hover statesFocus ringsPrimary buttons hover
700
3205
#3205AD
Active/pressed statesDark mode accentsSecondary text
800
2404
#24047C
Text on light backgroundsHeadingsStrong borders
900
1702
#17024F
Primary textHigh emphasis contentDark headings
950
0E02
#0E0231
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F4F0FF;
  --royal-blue-100: #E5DCFE;
  --royal-blue-200: #CFBFFD;
  --royal-blue-300: #AB8DFB;
  --royal-blue-400: #7F52FA;
  --royal-blue-500: #5A20F8;
  --royal-blue-600: #3F07DA;
  --royal-blue-700: #3205AD;
  --royal-blue-800: #24047C;
  --royal-blue-900: #17024F;
  --royal-blue-950: #0E0231;
}
Generate More ShadesCreate PaletteConvert Color