#54548C#54548C
#54548C is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.2% C 0.090 H 282.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #54548C |
|---|---|
| RGB | rgb(84, 84, 140) |
| HSL | hsl(240, 25%, 44%) |
| HSV | hsv(240, 40%, 55%) |
| CMYK | cmyk(40%, 40%, 0%, 45.1%) |
| CIE-LAB | lab(38.05, 14.73, -31.12) |
| CIE-LCH | lch(38.05, 34.43, 295.33°) |
| OKLab | oklab(47.16% 0.0193 -0.0875) |
| OKLCH | oklch(47.16% 0.09 282.4) |
| XYZ | xyz(11.5588, 10.1185, 26.1499) |
| Luminance | 0.1012 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.53
Dusk
#4E5481
ΔE00 2.73
Dusky Blue
#475F94
ΔE00 6.66
Blueberry
#464196
ΔE00 7.36
Darkslateblue
#483D8B
ΔE00 7.74
Denim Blue
#3B5B92
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54548C #8C8C54
analogous
#54708C #54548C #70548C
triadic
#54548C #8C5454 #548C54
tetradic
#54548C #8C5470 #8C8C54 #548C70
square
#54548C #8C5470 #8C8C54 #548C70
split-complementary
#54548C #8C7054 #708C54
monochromatic
#262640 #3D3D66 #54548C #7373AB #9999C2
Accessibility & contrast
On white
6.94
#54548C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#54548C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #54548C
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54548C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54548C | 1.00 | 6.94 | 3.02 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415C8E
Deuteranopia (green-blind)
#3F588B
Tritanopia (blue-blind)
#445F69
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #54548c; /* rgb */ color: rgb(84, 84, 140); /* oklch */ color: oklch(47.2% 0.090 282.4);
Tailwind
colors: {
custom: {
50: '#8784ae',
500: '#54548c',
950: '#000000',
},
}SCSS
$custom: #54548c; $custom-light: #8784ae; $custom-dark: #000000;
JSON
{
"hex": "#54548c",
"rgb": {
"r": 84,
"g": 84,
"b": 140
},
"hsl": {
"h": 240,
"s": 25,
"l": 43.922
},
"oklch": {
"l": 0.47164,
"c": 0.08956,
"h": 282.4
},
"luminance": 0.10119
}Semantic roles & 50–950 ramp
primary
#54548C
secondary
#AFAF8D
accent
#C166C1
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0B0A10
muted
#7C7C7F