#5C548B#5C548B
#5C548B is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.8% C 0.087 H 289.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5C548B |
|---|---|
| RGB | rgb(92, 84, 139) |
| HSL | hsl(249, 25%, 44%) |
| HSV | hsv(249, 40%, 55%) |
| CMYK | cmyk(33.8%, 39.6%, 0%, 45.5%) |
| CIE-LAB | lab(38.69, 16.78, -29.47) |
| CIE-LCH | lch(38.69, 33.91, 299.66°) |
| OKLab | oklab(47.8% 0.0289 -0.0825) |
| OKLCH | oklch(47.8% 0.087 289.3) |
| XYZ | xyz(12.2429, 10.4797, 25.7988) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.62
Dusk
#4E5481
ΔE00 4.22
Darkslateblue
#483D8B
ΔE00 8.24
Blueberry
#464196
ΔE00 8.31
Royal Purple
#7851A9
ΔE00 8.34
Dusky Blue
#475F94
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C548B #838B54
analogous
#54678B #5C548B #77548B
triadic
#5C548B #8B5C54 #548B5C
tetradic
#5C548B #8B5467 #838B54 #548B77
square
#5C548B #8B5467 #838B54 #548B77
split-complementary
#5C548B #8B7754 #678B54
monochromatic
#2A263F #433D65 #5C548B #7A72AA #9E98C1
Accessibility & contrast
On white
6.78
#5C548B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#5C548B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C548B
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C548B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C548B | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#435C8D
Deuteranopia (green-blind)
#435A8A
Tritanopia (blue-blind)
#515E69
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #5c548b; /* rgb */ color: rgb(92, 84, 139); /* oklch */ color: oklch(47.8% 0.087 289.3);
Tailwind
colors: {
custom: {
50: '#8c84ad',
500: '#5c548b',
950: '#000000',
},
}SCSS
$custom: #5c548b; $custom-light: #8c84ad; $custom-dark: #000000;
JSON
{
"hex": "#5c548b",
"rgb": {
"r": 92,
"g": 84,
"b": 139
},
"hsl": {
"h": 248.727,
"s": 24.664,
"l": 43.725
},
"oklch": {
"l": 0.47802,
"c": 0.0874,
"h": 289.3
},
"luminance": 0.1048
}Semantic roles & 50–950 ramp
primary
#5C548B
secondary
#A9AE8D
accent
#C167B4
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0C0A10
muted
#7D7C7F