#5791C6#5791C6
#5791C6 is a light, moderate cyan. Relative luminance 0.264; OKLCH L 63.9% C 0.101 H 247.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5791C6 |
|---|---|
| RGB | rgb(87, 145, 198) |
| HSL | hsl(209, 49%, 56%) |
| HSV | hsv(209, 56%, 78%) |
| CMYK | cmyk(56.1%, 26.8%, 0%, 22.4%) |
| CIE-LAB | lab(58.37, -3.46, -33.18) |
| CIE-LCH | lch(58.37, 33.36, 264.05°) |
| OKLab | oklab(63.92% -0.0384 -0.0931) |
| OKLCH | oklch(63.92% 0.101 247.6) |
| XYZ | xyz(24.2453, 26.3522, 57.2239) |
| Luminance | 0.2635 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Sky Blue
#448EE4
ΔE00 3.39
Faded Blue
#658CBB
ΔE00 3.68
Dusty Blue
#5A86AD
ΔE00 4.67
Cool Blue
#4984B8
ΔE00 4.68
Off Blue
#5684AE
ΔE00 5.02
Dodgerblue
#1E90FF
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5791C6 #C68C57
analogous
#57C6C3 #5791C6 #5759C6
triadic
#5791C6 #C65791 #91C657
tetradic
#5791C6 #C357C6 #C68C57 #59C657
square
#5791C6 #C357C6 #C68C57 #59C657
split-complementary
#5791C6 #C65759 #C6C357
monochromatic
#295379 #3972A7 #5791C6 #85AFD6 #B2CDE5
Accessibility & contrast
On white
3.35
#5791C6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#5791C6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5791C6
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5791C6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5791C6 | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B92C8
Deuteranopia (green-blind)
#6C87C5
Tritanopia (blue-blind)
#009DA3
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5791c6; /* rgb */ color: rgb(87, 145, 198); /* oklch */ color: oklch(63.9% 0.101 247.6);
Tailwind
colors: {
custom: {
50: '#8eb1d7',
500: '#5791c6',
950: '#000000',
},
}SCSS
$custom: #5791c6; $custom-light: #8eb1d7; $custom-dark: #000000;
JSON
{
"hex": "#5791c6",
"rgb": {
"r": 87,
"g": 145,
"b": 198
},
"hsl": {
"h": 208.649,
"s": 49.333,
"l": 55.882
},
"oklch": {
"l": 0.63918,
"c": 0.10071,
"h": 247.6
},
"luminance": 0.26354
}Semantic roles & 50–950 ramp
primary
#5791C6
secondary
#D3BBA5
accent
#914FD9
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D1014
muted
#7E7F83