#5872BF#5872BF
#5872BF is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.8% C 0.123 H 268.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #5872BF |
|---|---|
| RGB | rgb(88, 114, 191) |
| HSL | hsl(225, 45%, 55%) |
| HSV | hsv(225, 54%, 75%) |
| CMYK | cmyk(53.9%, 40.3%, 0%, 25.1%) |
| CIE-LAB | lab(49.34, 12.98, -43.38) |
| CIE-LCH | lch(49.34, 45.28, 286.66°) |
| OKLab | oklab(56.78% -0.0038 -0.123) |
| OKLCH | oklch(56.78% 0.123 268.2) |
| XYZ | xyz(19.4427, 17.8695, 51.7047) |
| Luminance | 0.1787 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.21
French Blue
#436BAD
ΔE00 4.90
Royal Blue
#4169E1
ΔE00 5.35
Cadet Blue
#4E7496
ΔE00 6.75
Dull Blue
#49759C
ΔE00 6.80
Medium Blue
#2C6FBB
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5872BF #BFA558
analogous
#58A6BF #5872BF #7158BF
triadic
#5872BF #BF5872 #72BF58
tetradic
#5872BF #BF58A6 #BFA558 #58BF71
square
#5872BF #BF58A6 #BFA558 #58BF71
split-complementary
#5872BF #BF7158 #A6BF58
monochromatic
#2B3D71 #3C559D #5872BF #8497D0 #B0BDE1
Accessibility & contrast
On white
4.59
#5872BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#5872BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5872BF
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5872BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5872BF | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#527AC2
Deuteranopia (green-blind)
#4671BD
Tritanopia (blue-blind)
#23838F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #5872bf; /* rgb */ color: rgb(88, 114, 191); /* oklch */ color: oklch(56.8% 0.123 268.2);
Tailwind
colors: {
custom: {
50: '#8e9ad3',
500: '#5872bf',
950: '#000000',
},
}SCSS
$custom: #5872bf; $custom-light: #8e9ad3; $custom-dark: #000000;
JSON
{
"hex": "#5872bf",
"rgb": {
"r": 88,
"g": 114,
"b": 191
},
"hsl": {
"h": 224.854,
"s": 44.589,
"l": 54.706
},
"oklch": {
"l": 0.56782,
"c": 0.12305,
"h": 268.2
},
"luminance": 0.17871
}Semantic roles & 50–950 ramp
primary
#5872BF
secondary
#CFC4A4
accent
#B454D4
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83