#5C548A#5C548A
#5C548A is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.7% C 0.086 H 289.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5C548A |
|---|---|
| RGB | rgb(92, 84, 138) |
| HSL | hsl(249, 24%, 44%) |
| HSV | hsv(249, 39%, 54%) |
| CMYK | cmyk(33.3%, 39.1%, 0%, 45.9%) |
| CIE-LAB | lab(38.64, 16.50, -28.94) |
| CIE-LCH | lch(38.64, 33.31, 299.69°) |
| OKLab | oklab(47.75% 0.0287 -0.0809) |
| OKLCH | oklch(47.75% 0.086 289.5) |
| XYZ | xyz(12.1702, 10.4507, 25.4158) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.73
Dusk
#4E5481
ΔE00 4.18
Darkslateblue
#483D8B
ΔE00 8.36
Blueberry
#464196
ΔE00 8.47
Royal Purple
#7851A9
ΔE00 8.49
Dusky Blue
#475F94
ΔE00 8.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C548A #828A54
analogous
#54678A #5C548A #77548A
triadic
#5C548A #8A5C54 #548A5C
tetradic
#5C548A #8A5467 #828A54 #548A77
square
#5C548A #8A5467 #828A54 #548A77
split-complementary
#5C548A #8A7754 #678A54
monochromatic
#29263E #433D64 #5C548A #7A72A9 #9E98C0
Accessibility & contrast
On white
6.80
#5C548A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#5C548A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C548A
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C548A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C548A | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#445C8C
Deuteranopia (green-blind)
#445A89
Tritanopia (blue-blind)
#515E68
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #5c548a; /* rgb */ color: rgb(92, 84, 138); /* oklch */ color: oklch(47.7% 0.086 289.5);
Tailwind
colors: {
custom: {
50: '#8c84ac',
500: '#5c548a',
950: '#000000',
},
}SCSS
$custom: #5c548a; $custom-light: #8c84ac; $custom-dark: #000000;
JSON
{
"hex": "#5c548a",
"rgb": {
"r": 92,
"g": 84,
"b": 138
},
"hsl": {
"h": 248.889,
"s": 24.324,
"l": 43.529
},
"oklch": {
"l": 0.47747,
"c": 0.08588,
"h": 289.5
},
"luminance": 0.10451
}Semantic roles & 50–950 ramp
primary
#5C548A
secondary
#A9AE8C
accent
#C167B3
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0C0A10
muted
#7D7C7F