Royal Blue

#6026F2

Purple

Color Codes

All color formats for development

HEX
#6026F2
RGB
rgb(96, 38, 242)
HSL
hsl(257, 89%, 55%)
OKLCH
oklch(0.501 0.268 284)
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
#D1C0
300
#AE90
400
#8356
500
#6026
600
#450C
700
#370A
800
#2707
900
#1904
950
#1003

Shades

Darker variations

1#4E0EEF
2#450CD4
3#3C0BBA
4#34099F
5#2B0885
6#22066A
7#1A0550
8#110335
9#09021B

Tints

Lighter variations

1#703CF4
2#8051F5
3#9067F6
4#A07DF7
5#AF93F9
6#BFA8FA
7#CFBEFB
8#DFD4FC
9#EFE9FE

Tones

Muted variations

1#6430E8
2#693BDE
3#6D45D4
4#724FCA
5#7659BF
6#7B63B5
7#7F6EAB
8#8378A1
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
D1C0
#D1C0FB
Secondary backgroundsInput backgroundsDividers
300
AE90
#AE90F9
BordersInactive statesPlaceholder text
400
8356
#8356F5
Disabled statesSecondary iconsMuted text
500
6026
#6026F2
Primary brand colorCTAsActive elementsLinks
600
450C
#450CD4
Hover statesFocus ringsPrimary buttons hover
700
370A
#370AA9
Active/pressed statesDark mode accentsSecondary text
800
2707
#270778
Text on light backgroundsHeadingsStrong borders
900
1904
#19044D
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: #D1C0FB;
  --royal-blue-300: #AE90F9;
  --royal-blue-400: #8356F5;
  --royal-blue-500: #6026F2;
  --royal-blue-600: #450CD4;
  --royal-blue-700: #370AA9;
  --royal-blue-800: #270778;
  --royal-blue-900: #19044D;
  --royal-blue-950: #100330;
}
Generate More ShadesCreate PaletteConvert Color