#5791BB#5791BB
#5791BB is a light, moderate cyan. Relative luminance 0.259; OKLCH L 63.4% C 0.088 H 241.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5791BB |
|---|---|
| RGB | rgb(87, 145, 187) |
| HSL | hsl(205, 42%, 54%) |
| HSV | hsv(205, 53%, 73%) |
| CMYK | cmyk(53.5%, 22.5%, 0%, 26.7%) |
| CIE-LAB | lab(57.91, -6.89, -27.68) |
| CIE-LCH | lch(57.91, 28.52, 256.03°) |
| OKLab | oklab(63.4% -0.042 -0.0773) |
| OKLCH | oklch(63.4% 0.088 241.5) |
| XYZ | xyz(23.0223, 25.8630, 50.7829) |
| Luminance | 0.2586 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusty Blue
#5A86AD
ΔE00 4.25
Faded Blue
#658CBB
ΔE00 4.75
Off Blue
#5684AE
ΔE00 4.85
Cool Blue
#4984B8
ΔE00 4.94
Steel Blue
#4682B4
ΔE00 5.54
Dark Sky Blue
#448EE4
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5791BB #BB8157
analogous
#57BBB3 #5791BB #575FBB
triadic
#5791BB #BB5791 #91BB57
tetradic
#5791BB #B357BB #BB8157 #5FBB57
square
#5791BB #B357BB #BB8157 #5FBB57
split-complementary
#5791BB #BB575F #BBB357
monochromatic
#2C516C #3D7297 #5791BB #83AECD #AECADE
Accessibility & contrast
On white
3.40
#5791BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#5791BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5791BB
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5791BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5791BB | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F91BD
Deuteranopia (green-blind)
#7187BA
Tritanopia (blue-blind)
#189B9F
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5791bb; /* rgb */ color: rgb(87, 145, 187); /* oklch */ color: oklch(63.4% 0.088 241.5);
Tailwind
colors: {
custom: {
50: '#8db1cf',
500: '#5791bb',
950: '#000000',
},
}SCSS
$custom: #5791bb; $custom-light: #8db1cf; $custom-dark: #000000;
JSON
{
"hex": "#5791bb",
"rgb": {
"r": 87,
"g": 145,
"b": 187
},
"hsl": {
"h": 205.2,
"s": 42.373,
"l": 53.725
},
"oklch": {
"l": 0.634,
"c": 0.08797,
"h": 241.5
},
"luminance": 0.25865
}Semantic roles & 50–950 ramp
primary
#5791BB
secondary
#CCB3A2
accent
#8A56D2
background
#F9FAFC
surface
#F1F5F9
border
#CBCFD2
text
#0D1014
muted
#7E7F82