#5791E8#5791E8
#5791E8 is a light, vivid blue. Relative luminance 0.281; OKLCH L 65.7% C 0.144 H 258.3°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5791E8 |
|---|---|
| RGB | rgb(87, 145, 232) |
| HSL | hsl(216, 76%, 63%) |
| HSV | hsv(216, 63%, 91%) |
| CMYK | cmyk(62.5%, 37.5%, 0%, 9%) |
| CIE-LAB | lab(59.98, 7.62, -49.65) |
| CIE-LCH | lch(59.98, 50.24, 278.72°) |
| OKLab | oklab(65.71% -0.0292 -0.141) |
| OKLCH | oklch(65.71% 0.144 258.3) |
| XYZ | xyz(28.6162, 28.1006, 80.2442) |
| Luminance | 0.2810 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.14
Dark Sky Blue
#448EE4
ΔE00 2.57
Dodgerblue
#1E90FF
ΔE00 3.81
Soft Blue
#6488EA
ΔE00 4.61
Dodger Blue
#3E82FC
ΔE00 4.96
Faded Blue
#658CBB
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5791E8 #E8AE57
analogous
#57D9E8 #5791E8 #6657E8
triadic
#5791E8 #E85791 #91E857
tetradic
#5791E8 #E857D9 #E8AE57 #57E866
square
#5791E8 #E857D9 #E8AE57 #57E866
split-complementary
#5791E8 #E86657 #D9E857
monochromatic
#1853AD #216EE1 #5791E8 #8DB4EF #C3D7F7
Accessibility & contrast
On white
3.17
#5791E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.62
#5791E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5791E8
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5791E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5791E8 | 1.00 | 3.17 | 6.62 | 6.62 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B98EC
Deuteranopia (green-blind)
#578AE6
Tritanopia (blue-blind)
#00A5B1
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #5791e8; /* rgb */ color: rgb(87, 145, 232); /* oklch */ color: oklch(65.7% 0.144 258.3);
Tailwind
colors: {
custom: {
50: '#93b0f0',
500: '#5791e8',
950: '#000000',
},
}SCSS
$custom: #5791e8; $custom-light: #93b0f0; $custom-dark: #000000;
JSON
{
"hex": "#5791e8",
"rgb": {
"r": 87,
"g": 145,
"b": 232
},
"hsl": {
"h": 216,
"s": 75.916,
"l": 62.549
},
"oklch": {
"l": 0.65705,
"c": 0.14402,
"h": 258.3
},
"luminance": 0.28103
}Semantic roles & 50–950 ramp
primary
#5791E8
secondary
#E8D3B3
accent
#870DD8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84