#5B579A#5B579A
#5B579A is a mid, moderate blue. Relative luminance 0.114; OKLCH L 49.2% C 0.105 H 284.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5B579A |
|---|---|
| RGB | rgb(91, 87, 154) |
| HSL | hsl(244, 28%, 47%) |
| HSV | hsv(244, 44%, 60%) |
| CMYK | cmyk(40.9%, 43.5%, 0%, 39.6%) |
| CIE-LAB | lab(40.20, 18.97, -36.14) |
| CIE-LCH | lch(40.20, 40.81, 297.70°) |
| OKLab | oklab(49.19% 0.0264 -0.1019) |
| OKLCH | oklch(49.19% 0.105 284.5) |
| XYZ | xyz(13.5537, 11.3731, 32.0467) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.59
Dusk
#4E5481
ΔE00 5.32
Dusky Blue
#475F94
ΔE00 6.85
Iris
#6258C4
ΔE00 7.17
Blueberry
#464196
ΔE00 7.46
Royal Purple
#7851A9
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B579A #969A57
analogous
#57759A #5B579A #7D579A
triadic
#5B579A #9A5B57 #579A5B
tetradic
#5B579A #9A5775 #969A57 #579A7D
square
#5B579A #9A5775 #969A57 #579A7D
split-complementary
#5B579A #9A7D57 #759A57
monochromatic
#2D2B4C #444173 #5B579A #7E7AB4 #A4A1CA
Accessibility & contrast
On white
6.41
#5B579A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#5B579A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B579A
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B579A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B579A | 1.00 | 6.41 | 3.27 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F619D
Deuteranopia (green-blind)
#3D5D98
Tritanopia (blue-blind)
#496471
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5b579a; /* rgb */ color: rgb(91, 87, 154); /* oklch */ color: oklch(49.2% 0.105 284.5);
Tailwind
colors: {
custom: {
50: '#8c86b8',
500: '#5b579a',
950: '#000000',
},
}SCSS
$custom: #5b579a; $custom-light: #8c86b8; $custom-dark: #000000;
JSON
{
"hex": "#5b579a",
"rgb": {
"r": 91,
"g": 87,
"b": 154
},
"hsl": {
"h": 243.582,
"s": 27.801,
"l": 47.255
},
"oklch": {
"l": 0.49191,
"c": 0.10527,
"h": 284.5
},
"luminance": 0.11374
}Semantic roles & 50–950 ramp
primary
#5B579A
secondary
#B6B895
accent
#C464BE
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80