Royal Blue

#5D27F1

Purple

Color Codes

All color formats for development

HEX
#5D27F1
RGB
rgb(93, 39, 241)
HSL
hsl(256, 88%, 55%)
OKLCH
oklch(0.498 0.267 283.1)
CMYK
cmyk(61%, 84%, 0%, 5%)

Accessibility

WCAG contrast compliance

On White Background

6.94:1

AA AAA

On Black Background

3.03:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F4F1
100
#E6DD
200
#D0C1
300
#AC91
400
#8157
500
#5D27
600
#420D
700
#350B
800
#2608
900
#1805
950
#0F03

Shades

Darker variations

1#4A0FED
2#420DD3
3#3A0CB9
4#320A9E
5#290884
6#210769
7#19054F
8#110335
9#08021A

Tints

Lighter variations

1#6D3DF3
2#7E52F4
3#8E68F5
4#9E7EF7
5#AE93F8
6#BEA9F9
7#CEBEFB
8#DFD4FC
9#EFE9FE

Tones

Muted variations

1#6231E7
2#673BDD
3#6B46D3
4#7050C9
5#755ABF
6#7964B5
7#7E6EAB
8#8378A0
9#888296

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F4F1
#F4F1FE
BackgroundsSubtle highlightsCard backgrounds
100
E6DD
#E6DDFD
Light backgroundsTable row hoverSkeleton loading
200
D0C1
#D0C1FB
Secondary backgroundsInput backgroundsDividers
300
AC91
#AC91F8
BordersInactive statesPlaceholder text
400
8157
#8157F4
Disabled statesSecondary iconsMuted text
500
5D27
#5D27F1
Primary brand colorCTAsActive elementsLinks
600
420D
#420DD3
Hover statesFocus ringsPrimary buttons hover
700
350B
#350BA8
Active/pressed statesDark mode accentsSecondary text
800
2608
#260878
Text on light backgroundsHeadingsStrong borders
900
1805
#18054D
Primary textHigh emphasis contentDark headings
950
0F03
#0F0330
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F4F1FE;
  --royal-blue-100: #E6DDFD;
  --royal-blue-200: #D0C1FB;
  --royal-blue-300: #AC91F8;
  --royal-blue-400: #8157F4;
  --royal-blue-500: #5D27F1;
  --royal-blue-600: #420DD3;
  --royal-blue-700: #350BA8;
  --royal-blue-800: #260878;
  --royal-blue-900: #18054D;
  --royal-blue-950: #0F0330;
}
Generate More ShadesCreate PaletteConvert Color