#5791E3#5791E3
#5791E3 is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.4% C 0.137 H 257.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5791E3 |
|---|---|
| RGB | rgb(87, 145, 227) |
| HSL | hsl(215, 71%, 62%) |
| HSV | hsv(215, 62%, 89%) |
| CMYK | cmyk(61.7%, 36.1%, 0%, 11%) |
| CIE-LAB | lab(59.73, 5.95, -47.28) |
| CIE-LCH | lch(59.73, 47.65, 277.18°) |
| OKLab | oklab(65.43% -0.0303 -0.1341) |
| OKLCH | oklch(65.43% 0.137 257.2) |
| XYZ | xyz(27.9161, 27.8205, 76.5569) |
| Luminance | 0.2782 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Sky Blue
#448EE4
ΔE00 2.24
Cornflowerblue
#6495ED
ΔE00 2.51
Dodgerblue
#1E90FF
ΔE00 3.74
Faded Blue
#658CBB
ΔE00 4.74
Soft Blue
#6488EA
ΔE00 4.85
Dodger Blue
#3E82FC
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5791E3 #E3A957
analogous
#57D7E3 #5791E3 #6357E3
triadic
#5791E3 #E35791 #91E357
tetradic
#5791E3 #E357D7 #E3A957 #57E363
square
#5791E3 #E357D7 #E3A957 #57E363
split-complementary
#5791E3 #E36357 #D7E357
monochromatic
#1B54A4 #246FD9 #5791E3 #8BB3EC #C0D6F4
Accessibility & contrast
On white
3.20
#5791E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.56
#5791E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5791E3
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5791E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5791E3 | 1.00 | 3.20 | 6.56 | 6.56 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E97E6
Deuteranopia (green-blind)
#5B8AE1
Tritanopia (blue-blind)
#00A4AF
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #5791e3; /* rgb */ color: rgb(87, 145, 227); /* oklch */ color: oklch(65.4% 0.137 257.2);
Tailwind
colors: {
custom: {
50: '#92b0ec',
500: '#5791e3',
950: '#000000',
},
}SCSS
$custom: #5791e3; $custom-light: #92b0ec; $custom-dark: #000000;
JSON
{
"hex": "#5791e3",
"rgb": {
"r": 87,
"g": 145,
"b": 227
},
"hsl": {
"h": 215.143,
"s": 71.429,
"l": 61.569
},
"oklch": {
"l": 0.65425,
"c": 0.13749,
"h": 257.2
},
"luminance": 0.27823
}Semantic roles & 50–950 ramp
primary
#5791E3
secondary
#E5CFB1
accent
#8312D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84