Royal Blue

#5796F4

Blue

Color Codes

All color formats for development

HEX
#5796F4
RGB
rgb(87, 150, 244)
HSL
hsl(216, 88%, 65%)
OKLCH
oklch(0.675 0.154 258.2)
CMYK
cmyk(64%, 39%, 0%, 4%)

Accessibility

WCAG contrast compliance

On White Background

2.97:1

AA AAA

On Black Background

7.07:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F1F6
100
#DDEA
200
#C1D8
300
#91BA
400
#5796
500
#2778
600
#0D5C
700
#0B4A
800
#0835
900
#0522
950
#0315

Shades

Darker variations

1#3883F2
2#196FF0
3#0E60DA
4#0C52BB
5#0A449C
6#08377D
7#06295D
8#041B3E
9#020E1F

Tints

Lighter variations

1#68A1F5
2#79ABF6
3#8AB6F8
4#9AC0F9
5#ABCBFA
6#BCD5FB
7#CDE0FC
8#DDEAFD
9#EEF5FE

Tones

Muted variations

1#5F98EC
2#6799E5
3#6F9BDD
4#779CD5
5#7E9ECD
6#869FC5
7#8EA1BD
8#96A3B5
9#9EA4AE

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F1F6
#F1F6FE
BackgroundsSubtle highlightsCard backgrounds
100
DDEA
#DDEAFD
Light backgroundsTable row hoverSkeleton loading
200
C1D8
#C1D8FB
Secondary backgroundsInput backgroundsDividers
300
91BA
#91BAF8
BordersInactive statesPlaceholder text
400
5796
#5796F4
Disabled statesSecondary iconsMuted text
500
2778
#2778F1
Primary brand colorCTAsActive elementsLinks
600
0D5C
#0D5CD3
Hover statesFocus ringsPrimary buttons hover
700
0B4A
#0B4AA8
Active/pressed statesDark mode accentsSecondary text
800
0835
#083578
Text on light backgroundsHeadingsStrong borders
900
0522
#05224D
Primary textHigh emphasis contentDark headings
950
0315
#031530
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F1F6FE;
  --royal-blue-100: #DDEAFD;
  --royal-blue-200: #C1D8FB;
  --royal-blue-300: #91BAF8;
  --royal-blue-400: #5796F4;
  --royal-blue-500: #2778F1;
  --royal-blue-600: #0D5CD3;
  --royal-blue-700: #0B4AA8;
  --royal-blue-800: #083578;
  --royal-blue-900: #05224D;
  --royal-blue-950: #031530;
}
Generate More ShadesCreate PaletteConvert Color