#5B577E#5B577E
#5B577E is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.7% C 0.062 H 288.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5B577E |
|---|---|
| RGB | rgb(91, 87, 126) |
| HSL | hsl(246, 18%, 42%) |
| HSV | hsv(246, 31%, 49%) |
| CMYK | cmyk(27.8%, 31%, 0%, 50.6%) |
| CIE-LAB | lab(38.81, 10.98, -21.36) |
| CIE-LCH | lch(38.81, 24.02, 297.19°) |
| OKLab | oklab(47.67% 0.0198 -0.0591) |
| OKLCH | oklch(47.67% 0.062 288.5) |
| XYZ | xyz(11.4875, 10.5467, 21.1651) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 4.15
Twilight
#4E518B
ΔE00 6.02
Dusky Blue
#475F94
ΔE00 9.47
Muted Purple
#805B87
ΔE00 10.37
Purplish Grey
#7A687F
ΔE00 10.40
Dusty Purple
#825F87
ΔE00 10.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B577E #7A7E57
analogous
#57677E #5B577E #6F577E
triadic
#5B577E #7E5B57 #577E5B
tetradic
#5B577E #7E5767 #7A7E57 #577E6F
square
#5B577E #7E5767 #7A7E57 #577E6F
split-complementary
#5B577E #7E6F57 #677E57
monochromatic
#272536 #413E5A #5B577E #78749F #9B98B8
Accessibility & contrast
On white
6.75
#5B577E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#5B577E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B577E
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B577E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B577E | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5C80
Deuteranopia (green-blind)
#4C5A7D
Tritanopia (blue-blind)
#535E65
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #5b577e; /* rgb */ color: rgb(91, 87, 126); /* oklch */ color: oklch(47.7% 0.062 288.5);
Tailwind
colors: {
custom: {
50: '#8a86a3',
500: '#5b577e',
950: '#000000',
},
}SCSS
$custom: #5b577e; $custom-light: #8a86a3; $custom-dark: #000000;
JSON
{
"hex": "#5b577e",
"rgb": {
"r": 91,
"g": 87,
"b": 126
},
"hsl": {
"h": 246.154,
"s": 18.31,
"l": 41.765
},
"oklch": {
"l": 0.47666,
"c": 0.06236,
"h": 288.5
},
"luminance": 0.10547
}Semantic roles & 50–950 ramp
primary
#5B577E
secondary
#A3A68B
accent
#BB6DB3
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0C0B0F
muted
#7D7C7F