#5791C9#5791C9
#5791C9 is a light, moderate cyan. Relative luminance 0.265; OKLCH L 64.1% C 0.104 H 249.0°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5791C9 |
|---|---|
| RGB | rgb(87, 145, 201) |
| HSL | hsl(209, 51%, 56%) |
| HSV | hsv(209, 57%, 79%) |
| CMYK | cmyk(56.7%, 27.9%, 0%, 21.2%) |
| CIE-LAB | lab(58.50, -2.51, -34.66) |
| CIE-LCH | lch(58.50, 34.75, 265.86°) |
| OKLab | oklab(64.06% -0.0375 -0.0974) |
| OKLCH | oklch(64.06% 0.104 249) |
| XYZ | xyz(24.5947, 26.4920, 59.0644) |
| Luminance | 0.2649 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Sky Blue
#448EE4
ΔE00 2.97
Faded Blue
#658CBB
ΔE00 3.62
Dodgerblue
#1E90FF
ΔE00 4.80
Cool Blue
#4984B8
ΔE00 4.82
Dusty Blue
#5A86AD
ΔE00 4.91
Off Blue
#5684AE
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5791C9 #C98F57
analogous
#57C9C8 #5791C9 #5758C9
triadic
#5791C9 #C95791 #91C957
tetradic
#5791C9 #C857C9 #C98F57 #58C957
square
#5791C9 #C857C9 #C98F57 #58C957
split-complementary
#5791C9 #C95758 #C9C857
monochromatic
#28547D #3772AC #5791C9 #85AFD8 #B4CEE7
Accessibility & contrast
On white
3.33
#5791C9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#5791C9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5791C9
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5791C9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5791C9 | 1.00 | 3.33 | 6.30 | 6.30 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7993CB
Deuteranopia (green-blind)
#6A88C8
Tritanopia (blue-blind)
#009EA4
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5791c9; /* rgb */ color: rgb(87, 145, 201); /* oklch */ color: oklch(64.1% 0.104 249.0);
Tailwind
colors: {
custom: {
50: '#8fb1d9',
500: '#5791c9',
950: '#000000',
},
}SCSS
$custom: #5791c9; $custom-light: #8fb1d9; $custom-dark: #000000;
JSON
{
"hex": "#5791c9",
"rgb": {
"r": 87,
"g": 145,
"b": 201
},
"hsl": {
"h": 209.474,
"s": 51.351,
"l": 56.471
},
"oklch": {
"l": 0.64064,
"c": 0.10435,
"h": 249
},
"luminance": 0.26494
}Semantic roles & 50–950 ramp
primary
#5791C9
secondary
#D5BDA7
accent
#934DDB
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D1014
muted
#7E7F83