#5871AE#5871AE
#5871AE is a mid, moderate blue. Relative luminance 0.169; OKLCH L 55.6% C 0.100 H 266.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5871AE |
|---|---|
| RGB | rgb(88, 113, 174) |
| HSL | hsl(223, 35%, 51%) |
| HSV | hsv(223, 49%, 68%) |
| CMYK | cmyk(49.4%, 35.1%, 0%, 31.8%) |
| CIE-LAB | lab(48.18, 8.16, -35.36) |
| CIE-LCH | lch(48.18, 36.29, 282.99°) |
| OKLab | oklab(55.61% -0.0064 -0.0996) |
| OKLCH | oklch(55.61% 0.1 266.3) |
| XYZ | xyz(17.5671, 16.9398, 42.3802) |
| Luminance | 0.1694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 4.09
Cornflower Blue
#5170D7
ΔE00 5.36
Cadet Blue
#4E7496
ΔE00 6.14
Dull Blue
#49759C
ΔE00 6.24
Flat Blue
#3C73A8
ΔE00 6.50
Medium Blue
#2C6FBB
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5871AE #AE9558
analogous
#589CAE #5871AE #6A58AE
triadic
#5871AE #AE5871 #71AE58
tetradic
#5871AE #AE589C #AE9558 #58AE6A
square
#5871AE #AE589C #AE9558 #58AE6A
split-complementary
#5871AE #AE6A58 #9CAE58
monochromatic
#2E3C5E #425687 #5871AE #8194C2 #AAB7D6
Accessibility & contrast
On white
4.79
#5871AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#5871AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5871AE
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5871AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5871AE | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A77B1
Deuteranopia (green-blind)
#516FAD
Tritanopia (blue-blind)
#347E87
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5871ae; /* rgb */ color: rgb(88, 113, 174); /* oklch */ color: oklch(55.6% 0.100 266.3);
Tailwind
colors: {
custom: {
50: '#8c99c6',
500: '#5871ae',
950: '#000000',
},
}SCSS
$custom: #5871ae; $custom-light: #8c99c6; $custom-dark: #000000;
JSON
{
"hex": "#5871ae",
"rgb": {
"r": 88,
"g": 113,
"b": 174
},
"hsl": {
"h": 222.558,
"s": 34.677,
"l": 51.373
},
"oklch": {
"l": 0.55605,
"c": 0.09981,
"h": 266.3
},
"luminance": 0.16941
}Semantic roles & 50–950 ramp
primary
#5871AE
secondary
#C4B99E
accent
#AB5DCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82