#5A647E#5A647E
#5A647E is a mid, muted blue. Relative luminance 0.128; OKLCH L 50.5% C 0.043 H 268.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5A647E |
|---|---|
| RGB | rgb(90, 100, 126) |
| HSL | hsl(223, 17%, 42%) |
| HSV | hsv(223, 29%, 49%) |
| CMYK | cmyk(28.6%, 20.6%, 0%, 50.6%) |
| CIE-LAB | lab(42.45, 2.59, -15.76) |
| CIE-LCH | lch(42.45, 15.97, 279.31°) |
| OKLab | oklab(50.48% -0.0012 -0.0433) |
| OKLCH | oklch(50.48% 0.043 268.4) |
| XYZ | xyz(12.5385, 12.7940, 21.5435) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 7.62
Dusk
#4E5481
ΔE00 7.69
Denim (survey)
#3B638C
ΔE00 8.65
Slate
#516572
ΔE00 8.89
Slate Grey
#59656D
ΔE00 9.12
Denim Blue
#3B5B92
ΔE00 9.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A647E #7E745A
analogous
#5A767E #5A647E #625A7E
triadic
#5A647E #7E5A64 #647E5A
tetradic
#5A647E #7E5A76 #7E745A #5A7E62
square
#5A647E #7E5A76 #7E745A #5A7E62
split-complementary
#5A647E #7E625A #767E5A
monochromatic
#272B37 #40485A #5A647E #77829E #9BA3B8
Accessibility & contrast
On white
5.90
#5A647E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#5A647E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A647E
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A647E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A647E | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C667F
Deuteranopia (green-blind)
#59637D
Tritanopia (blue-blind)
#51696D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5a647e; /* rgb */ color: rgb(90, 100, 126); /* oklch */ color: oklch(50.5% 0.043 268.4);
Tailwind
colors: {
custom: {
50: '#8990a3',
500: '#5a647e',
950: '#000000',
},
}SCSS
$custom: #5a647e; $custom-light: #8990a3; $custom-dark: #000000;
JSON
{
"hex": "#5a647e",
"rgb": {
"r": 90,
"g": 100,
"b": 126
},
"hsl": {
"h": 223.333,
"s": 16.667,
"l": 42.353
},
"oklch": {
"l": 0.50475,
"c": 0.04333,
"h": 268.4
},
"luminance": 0.12794
}Semantic roles & 50–950 ramp
primary
#5A647E
secondary
#A69F8E
accent
#A56EB9
background
#F8F8FA
surface
#F0F0F3
border
#CBCBCD
text
#0B0C0F
muted
#7C7D7F