#5791C5#5791C5
#5791C5 is a light, moderate cyan. Relative luminance 0.263; OKLCH L 63.9% C 0.100 H 247.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5791C5 |
|---|---|
| RGB | rgb(87, 145, 197) |
| HSL | hsl(208, 49%, 56%) |
| HSV | hsv(208, 56%, 77%) |
| CMYK | cmyk(55.8%, 26.4%, 0%, 22.7%) |
| CIE-LAB | lab(58.33, -3.77, -32.68) |
| CIE-LCH | lch(58.33, 32.90, 263.41°) |
| OKLab | oklab(63.87% -0.0387 -0.0917) |
| OKLCH | oklch(63.87% 0.1 247.1) |
| XYZ | xyz(24.1303, 26.3062, 56.6185) |
| Luminance | 0.2631 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Sky Blue
#448EE4
ΔE00 3.55
Faded Blue
#658CBB
ΔE00 3.72
Dusty Blue
#5A86AD
ΔE00 4.59
Cool Blue
#4984B8
ΔE00 4.65
Off Blue
#5684AE
ΔE00 4.96
Dodgerblue
#1E90FF
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5791C5 #C58B57
analogous
#57C5C2 #5791C5 #575AC5
triadic
#5791C5 #C55791 #91C557
tetradic
#5791C5 #C257C5 #C58B57 #5AC557
square
#5791C5 #C257C5 #C58B57 #5AC557
split-complementary
#5791C5 #C5575A #C5C257
monochromatic
#295378 #3972A6 #5791C5 #84AFD5 #B2CDE4
Accessibility & contrast
On white
3.35
#5791C5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#5791C5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5791C5
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5791C5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5791C5 | 1.00 | 3.35 | 6.26 | 6.26 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B92C7
Deuteranopia (green-blind)
#6C87C4
Tritanopia (blue-blind)
#009DA3
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5791c5; /* rgb */ color: rgb(87, 145, 197); /* oklch */ color: oklch(63.9% 0.100 247.1);
Tailwind
colors: {
custom: {
50: '#8eb1d6',
500: '#5791c5',
950: '#000000',
},
}SCSS
$custom: #5791c5; $custom-light: #8eb1d6; $custom-dark: #000000;
JSON
{
"hex": "#5791c5",
"rgb": {
"r": 87,
"g": 145,
"b": 197
},
"hsl": {
"h": 208.364,
"s": 48.673,
"l": 55.686
},
"oklch": {
"l": 0.63869,
"c": 0.09951,
"h": 247.1
},
"luminance": 0.26308
}Semantic roles & 50–950 ramp
primary
#5791C5
secondary
#D3BBA5
accent
#9050D8
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D1014
muted
#7E7F83