#5791E2#5791E2
#5791E2 is a light, vivid cyan. Relative luminance 0.278; OKLCH L 65.4% C 0.136 H 257.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #5791E2 |
|---|---|
| RGB | rgb(87, 145, 226) |
| HSL | hsl(215, 71%, 61%) |
| HSV | hsv(215, 62%, 89%) |
| CMYK | cmyk(61.5%, 35.8%, 0%, 11.4%) |
| CIE-LAB | lab(59.68, 5.62, -46.80) |
| CIE-LCH | lch(59.68, 47.14, 276.85°) |
| OKLab | oklab(65.37% -0.0306 -0.1327) |
| OKLCH | oklch(65.37% 0.136 257) |
| XYZ | xyz(27.7785, 27.7655, 75.8321) |
| Luminance | 0.2777 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Sky Blue
#448EE4
ΔE00 2.18
Cornflowerblue
#6495ED
ΔE00 2.59
Dodgerblue
#1E90FF
ΔE00 3.73
Faded Blue
#658CBB
ΔE00 4.68
Soft Blue
#6488EA
ΔE00 4.90
Dodger Blue
#3E82FC
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5791E2 #E2A857
analogous
#57D7E2 #5791E2 #6357E2
triadic
#5791E2 #E25791 #91E257
tetradic
#5791E2 #E257D7 #E2A857 #57E263
square
#5791E2 #E257D7 #E2A857 #57E263
split-complementary
#5791E2 #E26357 #D7E257
monochromatic
#1C54A3 #256FD7 #5791E2 #8BB3EB #BFD5F4
Accessibility & contrast
On white
3.20
#5791E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.55
#5791E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5791E2
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5791E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5791E2 | 1.00 | 3.20 | 6.55 | 6.55 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E97E5
Deuteranopia (green-blind)
#5B8AE0
Tritanopia (blue-blind)
#00A3AF
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #5791e2; /* rgb */ color: rgb(87, 145, 226); /* oklch */ color: oklch(65.4% 0.136 257.0);
Tailwind
colors: {
custom: {
50: '#92b0eb',
500: '#5791e2',
950: '#000000',
},
}SCSS
$custom: #5791e2; $custom-light: #92b0eb; $custom-dark: #000000;
JSON
{
"hex": "#5791e2",
"rgb": {
"r": 87,
"g": 145,
"b": 226
},
"hsl": {
"h": 214.964,
"s": 70.558,
"l": 61.373
},
"oklch": {
"l": 0.6537,
"c": 0.13618,
"h": 257
},
"luminance": 0.27768
}Semantic roles & 50–950 ramp
primary
#5791E2
secondary
#E4CFB0
accent
#8313D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84