Royal Blue

#5162FB

Blue

Color Codes

All color formats for development

HEX
#5162FB
RGB
rgb(81, 98, 251)
HSL
hsl(234, 96%, 65%)
OKLCH
oklch(0.575 0.226 272.3)
CMYK
cmyk(68%, 61%, 0%, 2%)

Accessibility

WCAG contrast compliance

On White Background

4.68:1

AA AAA

On Black Background

4.49:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F0F1
100
#DCDF
200
#BEC4
300
#8C97
400
#5061
500
#1E34
600
#041A
700
#0415
800
#030F
900
#0209
950
#0106

Shades

Darker variations

1#3044FB
2#0F27FA
3#051BE3
4#0417C3
5#0313A2
6#030F82
7#020C61
8#010841
9#010420

Tints

Lighter variations

1#6271FC
2#7381FC
3#8591FD
4#96A0FD
5#A8B0FD
6#B9C0FE
7#CBD0FE
8#DCDFFE
9#EEEFFF

Tones

Muted variations

1#5968F3
2#616FEA
3#6A76E2
4#727DD9
5#7B83D1
6#838AC8
7#8C91BF
8#9598B7
9#9D9FAE

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F0F1
#F0F1FF
BackgroundsSubtle highlightsCard backgrounds
100
DCDF
#DCDFFE
Light backgroundsTable row hoverSkeleton loading
200
BEC4
#BEC4FE
Secondary backgroundsInput backgroundsDividers
300
8C97
#8C97FD
BordersInactive statesPlaceholder text
400
5061
#5061FB
Disabled statesSecondary iconsMuted text
500
1E34
#1E34FA
Primary brand colorCTAsActive elementsLinks
600
041A
#041ADC
Hover statesFocus ringsPrimary buttons hover
700
0415
#0415AF
Active/pressed statesDark mode accentsSecondary text
800
030F
#030F7D
Text on light backgroundsHeadingsStrong borders
900
0209
#020950
Primary textHigh emphasis contentDark headings
950
0106
#010632
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F0F1FF;
  --royal-blue-100: #DCDFFE;
  --royal-blue-200: #BEC4FE;
  --royal-blue-300: #8C97FD;
  --royal-blue-400: #5061FB;
  --royal-blue-500: #1E34FA;
  --royal-blue-600: #041ADC;
  --royal-blue-700: #0415AF;
  --royal-blue-800: #030F7D;
  --royal-blue-900: #020950;
  --royal-blue-950: #010632;
}
Generate More ShadesCreate PaletteConvert Color