#5A627A#5A627A
#5A627A is a mid, muted blue. Relative luminance 0.123; OKLCH L 49.8% C 0.040 H 270.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5A627A |
|---|---|
| RGB | rgb(90, 98, 122) |
| HSL | hsl(225, 15%, 42%) |
| HSV | hsv(225, 26%, 48%) |
| CMYK | cmyk(26.2%, 19.7%, 0%, 52.2%) |
| CIE-LAB | lab(41.71, 2.75, -14.47) |
| CIE-LCH | lch(41.71, 14.73, 280.75°) |
| OKLab | oklab(49.84% 0.0004 -0.0397) |
| OKLCH | oklch(49.84% 0.04 270.5) |
| XYZ | xyz(12.0961, 12.3138, 20.1481) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 7.79
Dusky Blue
#475F94
ΔE00 8.51
Slate Grey
#59656D
ΔE00 8.86
Slate
#516572
ΔE00 8.91
Denim (survey)
#3B638C
ΔE00 9.45
Twilight
#4E518B
ΔE00 9.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A627A #7A725A
analogous
#5A727A #5A627A #625A7A
triadic
#5A627A #7A5A62 #627A5A
tetradic
#5A627A #7A5A72 #7A725A #5A7A62
square
#5A627A #7A5A72 #7A725A #5A7A62
split-complementary
#5A627A #7A625A #727A5A
monochromatic
#262934 #404657 #5A627A #77809A #9AA1B4
Accessibility & contrast
On white
6.06
#5A627A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#5A627A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A627A
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A627A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A627A | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B647B
Deuteranopia (green-blind)
#586179
Tritanopia (blue-blind)
#52676A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5a627a; /* rgb */ color: rgb(90, 98, 122); /* oklch */ color: oklch(49.8% 0.040 270.5);
Tailwind
colors: {
custom: {
50: '#898ea0',
500: '#5a627a',
950: '#000000',
},
}SCSS
$custom: #5a627a; $custom-light: #898ea0; $custom-dark: #000000;
JSON
{
"hex": "#5a627a",
"rgb": {
"r": 90,
"g": 98,
"b": 122
},
"hsl": {
"h": 225,
"s": 15.094,
"l": 41.569
},
"oklch": {
"l": 0.49844,
"c": 0.03966,
"h": 270.5
},
"luminance": 0.12314
}Semantic roles & 50–950 ramp
primary
#5A627A
secondary
#A39D8D
accent
#A670B8
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0B0C0E
muted
#7C7D7E