#5A577B#5A577B
#5A577B is a mid, muted blue. Relative luminance 0.104; OKLCH L 47.4% C 0.058 H 287.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5A577B |
|---|---|
| RGB | rgb(90, 87, 123) |
| HSL | hsl(245, 17%, 41%) |
| HSV | hsv(245, 29%, 48%) |
| CMYK | cmyk(26.8%, 29.3%, 0%, 51.8%) |
| CIE-LAB | lab(38.59, 9.84, -19.87) |
| CIE-LCH | lch(38.59, 22.17, 296.34°) |
| OKLab | oklab(47.43% 0.0176 -0.0549) |
| OKLCH | oklch(47.43% 0.058 287.8) |
| XYZ | xyz(11.1989, 10.4199, 20.1563) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 4.38
Twilight
#4E518B
ΔE00 6.60
Dusky Blue
#475F94
ΔE00 9.68
Purplish Grey
#7A687F
ΔE00 10.25
Muted Purple
#805B87
ΔE00 10.81
Dusty Purple
#825F87
ΔE00 11.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A577B #787B57
analogous
#57667B #5A577B #6C577B
triadic
#5A577B #7B5A57 #577B5A
tetradic
#5A577B #7B5766 #787B57 #577B6C
square
#5A577B #7B5766 #787B57 #577B6C
split-complementary
#5A577B #7B6C57 #667B57
monochromatic
#262433 #403E57 #5A577B #77739C #9A97B5
Accessibility & contrast
On white
6.81
#5A577B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#5A577B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A577B
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A577B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A577B | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5C7D
Deuteranopia (green-blind)
#4D5A7A
Tritanopia (blue-blind)
#535D64
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #5a577b; /* rgb */ color: rgb(90, 87, 123); /* oklch */ color: oklch(47.4% 0.058 287.8);
Tailwind
colors: {
custom: {
50: '#8986a1',
500: '#5a577b',
950: '#000000',
},
}SCSS
$custom: #5a577b; $custom-light: #8986a1; $custom-dark: #000000;
JSON
{
"hex": "#5a577b",
"rgb": {
"r": 90,
"g": 87,
"b": 123
},
"hsl": {
"h": 245,
"s": 17.143,
"l": 41.176
},
"oklch": {
"l": 0.4743,
"c": 0.05766,
"h": 287.8
},
"luminance": 0.1042
}Semantic roles & 50–950 ramp
primary
#5A577B
secondary
#A1A38A
accent
#BA6EB4
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0B0B0F
muted
#7C7C7E