#5C548E#5C548E
#5C548E is a mid, moderate blue. Relative luminance 0.106; OKLCH L 48.0% C 0.092 H 288.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5C548E |
|---|---|
| RGB | rgb(92, 84, 142) |
| HSL | hsl(248, 26%, 44%) |
| HSV | hsv(248, 41%, 56%) |
| CMYK | cmyk(35.2%, 40.8%, 0%, 44.3%) |
| CIE-LAB | lab(38.84, 17.64, -31.04) |
| CIE-LCH | lch(38.84, 35.70, 299.60°) |
| OKLab | oklab(47.97% 0.0296 -0.087) |
| OKLCH | oklch(47.97% 0.092 288.8) |
| XYZ | xyz(12.4651, 10.5686, 26.9691) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.39
Dusk
#4E5481
ΔE00 4.42
Blueberry
#464196
ΔE00 7.87
Royal Purple
#7851A9
ΔE00 7.94
Darkslateblue
#483D8B
ΔE00 7.95
Dusky Blue
#475F94
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C548E #868E54
analogous
#54698E #5C548E #79548E
triadic
#5C548E #8E5C54 #548E5C
tetradic
#5C548E #8E5469 #868E54 #548E79
square
#5C548E #8E5469 #868E54 #548E79
split-complementary
#5C548E #8E7954 #698E54
monochromatic
#2A2741 #433D68 #5C548E #7B73AC #9F99C3
Accessibility & contrast
On white
6.74
#5C548E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#5C548E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C548E
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C548E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C548E | 1.00 | 6.74 | 3.11 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#425D90
Deuteranopia (green-blind)
#425A8D
Tritanopia (blue-blind)
#505F6A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #5c548e; /* rgb */ color: rgb(92, 84, 142); /* oklch */ color: oklch(48.0% 0.092 288.8);
Tailwind
colors: {
custom: {
50: '#8c84af',
500: '#5c548e',
950: '#000000',
},
}SCSS
$custom: #5c548e; $custom-light: #8c84af; $custom-dark: #000000;
JSON
{
"hex": "#5c548e",
"rgb": {
"r": 92,
"g": 84,
"b": 142
},
"hsl": {
"h": 248.276,
"s": 25.664,
"l": 44.314
},
"oklch": {
"l": 0.4797,
"c": 0.09194,
"h": 288.8
},
"luminance": 0.10569
}Semantic roles & 50–950 ramp
primary
#5C548E
secondary
#ABB08E
accent
#C266B5
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0C0A10
muted
#7D7C7F