#54538C#54538C
#54538C is a mid, moderate blue. Relative luminance 0.100; OKLCH L 47.0% C 0.091 H 283.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #54538C |
|---|---|
| RGB | rgb(84, 83, 140) |
| HSL | hsl(241, 26%, 44%) |
| HSV | hsv(241, 41%, 55%) |
| CMYK | cmyk(40%, 40.7%, 0%, 45.1%) |
| CIE-LAB | lab(37.78, 15.36, -31.56) |
| CIE-LCH | lch(37.78, 35.10, 295.96°) |
| OKLab | oklab(46.95% 0.0207 -0.0887) |
| OKLCH | oklch(46.95% 0.091 283.1) |
| XYZ | xyz(11.4817, 9.9644, 26.1242) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.45
Dusk
#4E5481
ΔE00 2.95
Dusky Blue
#475F94
ΔE00 6.95
Blueberry
#464196
ΔE00 7.06
Darkslateblue
#483D8B
ΔE00 7.39
Denim Blue
#3B5B92
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54538C #8B8C53
analogous
#536E8C #54538C #70538C
triadic
#54538C #8C5453 #538C54
tetradic
#54538C #8C536E #8B8C53 #538C70
square
#54538C #8C536E #8B8C53 #538C70
split-complementary
#54538C #8C7053 #6E8C53
monochromatic
#26253F #3D3C66 #54538C #7271AB #9898C2
Accessibility & contrast
On white
7.02
#54538C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#54538C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #54538C
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54538C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54538C | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#405B8E
Deuteranopia (green-blind)
#3D578B
Tritanopia (blue-blind)
#445E69
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #54538c; /* rgb */ color: rgb(84, 83, 140); /* oklch */ color: oklch(47.0% 0.091 283.1);
Tailwind
colors: {
custom: {
50: '#8783ae',
500: '#54538c',
950: '#000000',
},
}SCSS
$custom: #54538c; $custom-light: #8783ae; $custom-dark: #000000;
JSON
{
"hex": "#54538c",
"rgb": {
"r": 84,
"g": 83,
"b": 140
},
"hsl": {
"h": 241.053,
"s": 25.561,
"l": 43.725
},
"oklch": {
"l": 0.46953,
"c": 0.0911,
"h": 283.1
},
"luminance": 0.09965
}Semantic roles & 50–950 ramp
primary
#54538C
secondary
#AEAF8C
accent
#C266C0
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0B0A10
muted
#7C7C7F