#5872AF#5872AF
#5872AF is a mid, moderate blue. Relative luminance 0.172; OKLCH L 55.9% C 0.100 H 265.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5872AF |
|---|---|
| RGB | rgb(88, 114, 175) |
| HSL | hsl(222, 35%, 52%) |
| HSV | hsv(222, 50%, 69%) |
| CMYK | cmyk(49.7%, 34.9%, 0%, 31.4%) |
| CIE-LAB | lab(48.52, 7.86, -35.43) |
| CIE-LCH | lch(48.52, 36.29, 282.51°) |
| OKLab | oklab(55.88% -0.0074 -0.0998) |
| OKLCH | oklch(55.88% 0.1 265.7) |
| XYZ | xyz(17.7771, 17.2033, 42.9329) |
| Luminance | 0.1720 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 4.16
Cornflower Blue
#5170D7
ΔE00 5.20
Cadet Blue
#4E7496
ΔE00 6.04
Dull Blue
#49759C
ΔE00 6.09
Flat Blue
#3C73A8
ΔE00 6.33
Medium Blue
#2C6FBB
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5872AF #AF9558
analogous
#589EAF #5872AF #6A58AF
triadic
#5872AF #AF5872 #72AF58
tetradic
#5872AF #AF589E #AF9558 #58AF6A
square
#5872AF #AF589E #AF9558 #58AF6A
split-complementary
#5872AF #AF6A58 #9EAF58
monochromatic
#2E3C5F #415788 #5872AF #8195C3 #ABB8D7
Accessibility & contrast
On white
4.73
#5872AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#5872AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5872AF
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5872AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5872AF | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B77B2
Deuteranopia (green-blind)
#5170AE
Tritanopia (blue-blind)
#337F88
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5872af; /* rgb */ color: rgb(88, 114, 175); /* oklch */ color: oklch(55.9% 0.100 265.7);
Tailwind
colors: {
custom: {
50: '#8c9ac7',
500: '#5872af',
950: '#000000',
},
}SCSS
$custom: #5872af; $custom-light: #8c9ac7; $custom-dark: #000000;
JSON
{
"hex": "#5872af",
"rgb": {
"r": 88,
"g": 114,
"b": 175
},
"hsl": {
"h": 222.069,
"s": 35.223,
"l": 51.569
},
"oklch": {
"l": 0.55878,
"c": 0.10005,
"h": 265.7
},
"luminance": 0.17204
}Semantic roles & 50–950 ramp
primary
#5872AF
secondary
#C5B99E
accent
#AA5DCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82