Royal Blue

#6027F1

Purple

Color Codes

All color formats for development

HEX
#6027F1
RGB
rgb(96, 39, 241)
HSL
hsl(257, 88%, 55%)
OKLCH
oklch(0.501 0.267 284.1)
CMYK
cmyk(60%, 84%, 0%, 5%)

Accessibility

WCAG contrast compliance

On White Background

6.87:1

AA AAA

On Black Background

3.06:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F4F1
100
#E6DD
200
#D1C1
300
#AE91
400
#8457
500
#6027
600
#450D
700
#370B
800
#2708
900
#1905
950
#1003

Shades

Darker variations

1#4E0FED
2#450DD3
3#3D0CB9
4#340A9E
5#2B0884
6#230769
7#1A054F
8#110335
9#09021A

Tints

Lighter variations

1#703DF3
2#8052F4
3#9068F5
4#A07EF7
5#B093F8
6#C0A9F9
7#CFBEFB
8#DFD4FC
9#EFE9FE

Tones

Muted variations

1#6531E7
2#693BDD
3#6E46D3
4#7250C9
5#765ABF
6#7B64B5
7#7F6EAB
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
D1C1
#D1C1FB
Secondary backgroundsInput backgroundsDividers
300
AE91
#AE91F8
BordersInactive statesPlaceholder text
400
8457
#8457F4
Disabled statesSecondary iconsMuted text
500
6027
#6027F1
Primary brand colorCTAsActive elementsLinks
600
450D
#450DD3
Hover statesFocus ringsPrimary buttons hover
700
370B
#370BA8
Active/pressed statesDark mode accentsSecondary text
800
2708
#270878
Text on light backgroundsHeadingsStrong borders
900
1905
#19054D
Primary textHigh emphasis contentDark headings
950
1003
#100330
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: #D1C1FB;
  --royal-blue-300: #AE91F8;
  --royal-blue-400: #8457F4;
  --royal-blue-500: #6027F1;
  --royal-blue-600: #450DD3;
  --royal-blue-700: #370BA8;
  --royal-blue-800: #270878;
  --royal-blue-900: #19054D;
  --royal-blue-950: #100330;
}
Generate More ShadesCreate PaletteConvert Color