#5877B7#5877B7
#5877B7 is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.4% C 0.106 H 263.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5877B7 |
|---|---|
| RGB | rgb(88, 119, 183) |
| HSL | hsl(220, 40%, 53%) |
| HSV | hsv(220, 52%, 72%) |
| CMYK | cmyk(51.9%, 35%, 0%, 28.2%) |
| CIE-LAB | lab(50.32, 7.35, -37.22) |
| CIE-LCH | lch(50.32, 37.94, 281.17°) |
| OKLab | oklab(57.4% -0.0115 -0.105) |
| OKLCH | oklch(57.4% 0.106 263.8) |
| XYZ | xyz(19.1657, 18.6859, 47.3874) |
| Luminance | 0.1869 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.57
French Blue
#436BAD
ΔE00 5.19
Windows Blue
#3778BF
ΔE00 5.57
Dull Blue
#49759C
ΔE00 5.90
Flat Blue
#3C73A8
ΔE00 6.05
Cadet Blue
#4E7496
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5877B7 #B79858
analogous
#58A6B7 #5877B7 #6858B7
triadic
#5877B7 #B75877 #77B758
tetradic
#5877B7 #B758A6 #B79858 #58B768
square
#5877B7 #B758A6 #B79858 #58B768
split-complementary
#5877B7 #B76858 #A6B758
monochromatic
#2D4068 #3F5A93 #5877B7 #839AC9 #AEBDDC
Accessibility & contrast
On white
4.43
#5877B7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#5877B7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5877B7
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5877B7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5877B7 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E7CBA
Deuteranopia (green-blind)
#5374B6
Tritanopia (blue-blind)
#2B858E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #5877b7; /* rgb */ color: rgb(88, 119, 183); /* oklch */ color: oklch(57.4% 0.106 263.8);
Tailwind
colors: {
custom: {
50: '#8d9dcd',
500: '#5877b7',
950: '#000000',
},
}SCSS
$custom: #5877b7; $custom-light: #8d9dcd; $custom-dark: #000000;
JSON
{
"hex": "#5877b7",
"rgb": {
"r": 88,
"g": 119,
"b": 183
},
"hsl": {
"h": 220.421,
"s": 39.749,
"l": 53.137
},
"oklch": {
"l": 0.57405,
"c": 0.1056,
"h": 263.8
},
"luminance": 0.18687
}Semantic roles & 50–950 ramp
primary
#5877B7
secondary
#CABDA1
accent
#A958D0
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0D0E13
muted
#7D7E82