#5A586E#5A586E
#5A586E is a mid, muted blue. Relative luminance 0.103; OKLCH L 47.1% C 0.035 H 289.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5A586E |
|---|---|
| RGB | rgb(90, 88, 110) |
| HSL | hsl(245, 11%, 39%) |
| HSV | hsv(245, 20%, 43%) |
| CMYK | cmyk(18.2%, 20%, 0%, 56.9%) |
| CIE-LAB | lab(38.34, 5.85, -12.24) |
| CIE-LCH | lch(38.34, 13.57, 295.53°) |
| OKLab | oklab(47.06% 0.0116 -0.0334) |
| OKLCH | oklch(47.06% 0.035 289.1) |
| XYZ | xyz(10.5200, 10.2788, 16.1786) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | neutral |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 8.06
Purplish Grey
#7A687F
ΔE00 9.71
Twilight
#4E518B
ΔE00 10.92
Slate Grey
#59656D
ΔE00 11.96
Dusky Blue
#475F94
ΔE00 12.25
Grey Purple
#826D8C
ΔE00 12.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A586E #6C6E58
analogous
#58616E #5A586E #65586E
triadic
#5A586E #6E5A58 #586E5A
tetradic
#5A586E #6E5861 #6C6E58 #586E65
square
#5A586E #6E5861 #6C6E58 #586E65
split-complementary
#5A586E #6E6558 #616E58
monochromatic
#22222A #3E3D4C #5A586E #767490 #9896AB
Accessibility & contrast
On white
6.87
#5A586E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#5A586E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A586E
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A586E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A586E | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#535B6F
Deuteranopia (green-blind)
#535A6D
Tritanopia (blue-blind)
#565C5F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #5a586e; /* rgb */ color: rgb(90, 88, 110); /* oklch */ color: oklch(47.1% 0.035 289.1);
Tailwind
colors: {
custom: {
50: '#898797',
500: '#5a586e',
950: '#000000',
},
}SCSS
$custom: #5a586e; $custom-light: #898797; $custom-dark: #000000;
JSON
{
"hex": "#5a586e",
"rgb": {
"r": 90,
"g": 88,
"b": 110
},
"hsl": {
"h": 245.455,
"s": 11.111,
"l": 38.824
},
"oklch": {
"l": 0.47062,
"c": 0.03532,
"h": 289.1
},
"luminance": 0.10279
}Semantic roles & 50–950 ramp
primary
#5A586E
secondary
#989988
accent
#B474AE
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0B0B0D
muted
#7C7C7E