#5871BC#5871BC
#5871BC is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.4% C 0.120 H 268.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5871BC |
|---|---|
| RGB | rgb(88, 113, 188) |
| HSL | hsl(225, 43%, 54%) |
| HSV | hsv(225, 53%, 74%) |
| CMYK | cmyk(53.2%, 39.9%, 0%, 26.3%) |
| CIE-LAB | lab(48.90, 12.62, -42.35) |
| CIE-LCH | lch(48.90, 44.19, 286.60°) |
| OKLab | oklab(56.39% -0.0032 -0.12) |
| OKLCH | oklch(56.39% 0.12 268.5) |
| XYZ | xyz(19.0037, 17.5145, 49.9464) |
| Luminance | 0.1752 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.58
French Blue
#436BAD
ΔE00 4.63
Royal Blue
#4169E1
ΔE00 5.54
Cadet Blue
#4E7496
ΔE00 6.68
Dull Blue
#49759C
ΔE00 6.78
Medium Blue
#2C6FBB
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5871BC #BCA358
analogous
#58A3BC #5871BC #7158BC
triadic
#5871BC #BC5871 #71BC58
tetradic
#5871BC #BC58A3 #BCA358 #58BC71
square
#5871BC #BC58A3 #BCA358 #58BC71
split-complementary
#5871BC #BC7158 #A3BC58
monochromatic
#2C3C6E #3E5499 #5871BC #8496CE #AFBBDF
Accessibility & contrast
On white
4.66
#5871BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#5871BC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5871BC
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5871BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5871BC | 1.00 | 4.66 | 4.50 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5379BF
Deuteranopia (green-blind)
#4770BA
Tritanopia (blue-blind)
#27818D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5871bc; /* rgb */ color: rgb(88, 113, 188); /* oklch */ color: oklch(56.4% 0.120 268.5);
Tailwind
colors: {
custom: {
50: '#8e99d0',
500: '#5871bc',
950: '#000000',
},
}SCSS
$custom: #5871bc; $custom-light: #8e99d0; $custom-dark: #000000;
JSON
{
"hex": "#5871bc",
"rgb": {
"r": 88,
"g": 113,
"b": 188
},
"hsl": {
"h": 225,
"s": 42.735,
"l": 54.118
},
"oklch": {
"l": 0.56394,
"c": 0.12,
"h": 268.5
},
"luminance": 0.17516
}Semantic roles & 50–950 ramp
primary
#5871BC
secondary
#CDC3A3
accent
#B355D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0D14
muted
#7E7E82