Royal Blue

#5133E6

Blue

Color Codes

All color formats for development

HEX
#5133E6
RGB
rgb(81, 51, 230)
HSL
hsl(250, 78%, 55%)
OKLCH
oklch(0.489 0.249 279.5)
CMYK
cmyk(65%, 78%, 0%, 10%)

Accessibility

WCAG contrast compliance

On White Background

7.08:1

AA AAA

On Black Background

2.97:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F3F1
100
#E4DF
200
#CDC4
300
#A697
400
#7760
500
#5133
600
#3619
700
#2B14
800
#1F0E
900
#1409
950
#0C06

Shades

Darker variations

1#3D1CE1
2#3619C8
3#2F16AF
4#281396
5#220F7D
6#1B0C64
7#14094B
8#0D0632
9#070319

Tints

Lighter variations

1#6247E8
2#735CEB
3#8570ED
4#9684F0
5#A899F2
6#B9ADF5
7#CBC2F7
8#DCD6FA
9#EEEBFC

Tones

Muted variations

1#573CDD
2#5D45D4
3#624ECB
4#6857C2
5#6E5FB9
6#7468B0
7#7A71A7
8#807A9E
9#868395

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F3F1
#F3F1FD
BackgroundsSubtle highlightsCard backgrounds
100
E4DF
#E4DFFB
Light backgroundsTable row hoverSkeleton loading
200
CDC4
#CDC4F8
Secondary backgroundsInput backgroundsDividers
300
A697
#A697F2
BordersInactive statesPlaceholder text
400
7760
#7760EB
Disabled statesSecondary iconsMuted text
500
5133
#5133E6
Primary brand colorCTAsActive elementsLinks
600
3619
#3619C8
Hover statesFocus ringsPrimary buttons hover
700
2B14
#2B149F
Active/pressed statesDark mode accentsSecondary text
800
1F0E
#1F0E71
Text on light backgroundsHeadingsStrong borders
900
1409
#140949
Primary textHigh emphasis contentDark headings
950
0C06
#0C062D
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F3F1FD;
  --royal-blue-100: #E4DFFB;
  --royal-blue-200: #CDC4F8;
  --royal-blue-300: #A697F2;
  --royal-blue-400: #7760EB;
  --royal-blue-500: #5133E6;
  --royal-blue-600: #3619C8;
  --royal-blue-700: #2B149F;
  --royal-blue-800: #1F0E71;
  --royal-blue-900: #140949;
  --royal-blue-950: #0C062D;
}
Generate More ShadesCreate PaletteConvert Color