Royal Blue

#516DFB

Blue

Color Codes

All color formats for development

HEX
#516DFB
RGB
rgb(81, 109, 251)
HSL
hsl(230, 96%, 65%)
OKLCH
oklch(0.595 0.213 270.2)
CMYK
cmyk(68%, 57%, 0%, 2%)

Accessibility

WCAG contrast compliance

On White Background

4.26:1

AA AAA

On Black Background

4.93:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F0F2
100
#DCE2
200
#BEC9
300
#8C9F
400
#506D
500
#1E43
600
#0428
700
#0420
800
#0317
900
#020F
950
#0109

Shades

Darker variations

1#3051FB
2#0F36FA
3#052AE3
4#0424C3
5#031EA2
6#031882
7#021261
8#010C41
9#010620

Tints

Lighter variations

1#627BFC
2#738AFC
3#8599FD
4#96A7FD
5#A8B6FD
6#B9C4FE
7#CBD3FE
8#DCE2FE
9#EEF0FF

Tones

Muted variations

1#5972F3
2#6178EA
3#6A7EE2
4#7283D9
5#7B89D1
6#838FC8
7#8C95BF
8#959AB7
9#9DA0AE

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F0F2
#F0F2FF
BackgroundsSubtle highlightsCard backgrounds
100
DCE2
#DCE2FE
Light backgroundsTable row hoverSkeleton loading
200
BEC9
#BEC9FE
Secondary backgroundsInput backgroundsDividers
300
8C9F
#8C9FFD
BordersInactive statesPlaceholder text
400
506D
#506DFB
Disabled statesSecondary iconsMuted text
500
1E43
#1E43FA
Primary brand colorCTAsActive elementsLinks
600
0428
#0428DC
Hover statesFocus ringsPrimary buttons hover
700
0420
#0420AF
Active/pressed statesDark mode accentsSecondary text
800
0317
#03177D
Text on light backgroundsHeadingsStrong borders
900
020F
#020F50
Primary textHigh emphasis contentDark headings
950
0109
#010932
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F0F2FF;
  --royal-blue-100: #DCE2FE;
  --royal-blue-200: #BEC9FE;
  --royal-blue-300: #8C9FFD;
  --royal-blue-400: #506DFB;
  --royal-blue-500: #1E43FA;
  --royal-blue-600: #0428DC;
  --royal-blue-700: #0420AF;
  --royal-blue-800: #03177D;
  --royal-blue-900: #020F50;
  --royal-blue-950: #010932;
}
Generate More ShadesCreate PaletteConvert Color