#5791EB#5791EB
#5791EB is a light, vivid blue. Relative luminance 0.283; OKLCH L 65.9% C 0.148 H 258.9°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5791EB |
|---|---|
| RGB | rgb(87, 145, 235) |
| HSL | hsl(216, 79%, 63%) |
| HSV | hsv(216, 63%, 92%) |
| CMYK | cmyk(63%, 38.3%, 0%, 7.8%) |
| CIE-LAB | lab(60.13, 8.62, -51.07) |
| CIE-LCH | lch(60.13, 51.79, 279.58°) |
| OKLab | oklab(65.88% -0.0285 -0.1452) |
| OKLCH | oklch(65.88% 0.148 258.9) |
| XYZ | xyz(29.0459, 28.2725, 82.5076) |
| Luminance | 0.2828 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.96
Dark Sky Blue
#448EE4
ΔE00 2.80
Dodgerblue
#1E90FF
ΔE00 3.89
Soft Blue
#6488EA
ΔE00 4.48
Dodger Blue
#3E82FC
ΔE00 4.87
Faded Blue
#658CBB
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5791EB #EBB157
analogous
#57DBEB #5791EB #6757EB
triadic
#5791EB #EB5791 #91EB57
tetradic
#5791EB #EB57DB #EBB157 #57EB67
square
#5791EB #EB57DB #EBB157 #57EB67
split-complementary
#5791EB #EB6757 #DBEB57
monochromatic
#1553B2 #206DE4 #5791EB #8EB5F2 #C4D9F8
Accessibility & contrast
On white
3.16
#5791EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.65
#5791EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5791EB
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5791EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5791EB | 1.00 | 3.16 | 6.65 | 6.65 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6998EF
Deuteranopia (green-blind)
#548BE9
Tritanopia (blue-blind)
#00A5B3
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #5791eb; /* rgb */ color: rgb(87, 145, 235); /* oklch */ color: oklch(65.9% 0.148 258.9);
Tailwind
colors: {
custom: {
50: '#93b0f2',
500: '#5791eb',
950: '#000000',
},
}SCSS
$custom: #5791eb; $custom-light: #93b0f2; $custom-dark: #000000;
JSON
{
"hex": "#5791eb",
"rgb": {
"r": 87,
"g": 145,
"b": 235
},
"hsl": {
"h": 216.486,
"s": 78.723,
"l": 63.137
},
"oklch": {
"l": 0.65875,
"c": 0.14796,
"h": 258.9
},
"luminance": 0.28275
}Semantic roles & 50–950 ramp
primary
#5791EB
secondary
#E9D5B4
accent
#890ADB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85