Royal Blue

#5252FA

Blue

Color Codes

All color formats for development

HEX
#5252FA
RGB
rgb(82, 82, 250)
HSL
hsl(240, 94%, 65%)
OKLCH
oklch(0.549 0.242 275)
CMYK
cmyk(67%, 67%, 0%, 2%)

Accessibility

WCAG contrast compliance

On White Background

5.32:1

AA AAA

On Black Background

3.95:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F0F0
100
#DCDC
200
#BFBF
300
#8D8D
400
#5252
500
#2020
600
#0707
700
#0505
800
#0404
900
#0202
950
#0202

Shades

Darker variations

1#3232F9
2#1212F8
3#0707E1
4#0606C1
5#0505A1
6#040481
7#030360
8#020240
9#010120

Tints

Lighter variations

1#6363FA
2#7474FB
3#8686FB
4#9797FC
5#A8A8FC
6#BABAFD
7#CBCBFD
8#DCDCFE
9#EEEEFE

Tones

Muted variations

1#5A5AF1
2#6363E9
3#6B6BE0
4#7373D8
5#7C7CD0
6#8484C7
7#8D8DBF
8#9595B7
9#9D9DAE

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F0F0
#F0F0FF
BackgroundsSubtle highlightsCard backgrounds
100
DCDC
#DCDCFE
Light backgroundsTable row hoverSkeleton loading
200
BFBF
#BFBFFD
Secondary backgroundsInput backgroundsDividers
300
8D8D
#8D8DFB
BordersInactive statesPlaceholder text
400
5252
#5252FA
Disabled statesSecondary iconsMuted text
500
2020
#2020F8
Primary brand colorCTAsActive elementsLinks
600
0707
#0707DA
Hover statesFocus ringsPrimary buttons hover
700
0505
#0505AD
Active/pressed statesDark mode accentsSecondary text
800
0404
#04047C
Text on light backgroundsHeadingsStrong borders
900
0202
#02024F
Primary textHigh emphasis contentDark headings
950
0202
#020231
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F0F0FF;
  --royal-blue-100: #DCDCFE;
  --royal-blue-200: #BFBFFD;
  --royal-blue-300: #8D8DFB;
  --royal-blue-400: #5252FA;
  --royal-blue-500: #2020F8;
  --royal-blue-600: #0707DA;
  --royal-blue-700: #0505AD;
  --royal-blue-800: #04047C;
  --royal-blue-900: #02024F;
  --royal-blue-950: #020231;
}
Generate More ShadesCreate PaletteConvert Color