#5871CE#5871CE
#5871CE is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.5% C 0.146 H 270.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5871CE |
|---|---|
| RGB | rgb(88, 113, 206) |
| HSL | hsl(227, 55%, 58%) |
| HSV | hsv(227, 57%, 81%) |
| CMYK | cmyk(57.3%, 45.1%, 0%, 19.2%) |
| CIE-LAB | lab(49.91, 18.51, -51.07) |
| CIE-LCH | lch(49.91, 54.33, 289.93°) |
| OKLab | oklab(57.49% 0 -0.1456) |
| OKLCH | oklch(57.49% 0.146 270) |
| XYZ | xyz(21.0665, 18.3396, 60.8103) |
| Luminance | 0.1834 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 1.46
Royal Blue
#4169E1
ΔE00 3.99
French Blue
#436BAD
ΔE00 6.14
Cerulean Blue
#056EEE
ΔE00 6.35
Cornflower
#6A79F7
ΔE00 6.77
Lightish Blue
#3D7AFD
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5871CE #CEB558
analogous
#58ACCE #5871CE #7A58CE
triadic
#5871CE #CE5871 #71CE58
tetradic
#5871CE #CE58AC #CEB558 #58CE7A
square
#5871CE #CE58AC #CEB558 #58CE7A
split-complementary
#5871CE #CE7A58 #ACCE58
monochromatic
#273B85 #3550B4 #5871CE #8799DC #B7C1EA
Accessibility & contrast
On white
4.50
#5871CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#5871CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5871CE
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5871CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5871CE | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#477CD1
Deuteranopia (green-blind)
#3672CC
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #5871ce; /* rgb */ color: rgb(88, 113, 206); /* oklch */ color: oklch(57.5% 0.146 270.0);
Tailwind
colors: {
custom: {
50: '#9099dd',
500: '#5871ce',
950: '#000000',
},
}SCSS
$custom: #5871ce; $custom-light: #9099dd; $custom-dark: #000000;
JSON
{
"hex": "#5871ce",
"rgb": {
"r": 88,
"g": 113,
"b": 206
},
"hsl": {
"h": 227.288,
"s": 54.63,
"l": 57.647
},
"oklch": {
"l": 0.5749,
"c": 0.14555,
"h": 270
},
"luminance": 0.18341
}Semantic roles & 50–950 ramp
primary
#5871CE
secondary
#D9CFA9
accent
#BF4ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83