#54518E#54518E
#54518E is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.7% C 0.097 H 284.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #54518E |
|---|---|
| RGB | rgb(84, 81, 142) |
| HSL | hsl(243, 27%, 44%) |
| HSV | hsv(243, 43%, 56%) |
| CMYK | cmyk(40.8%, 43%, 0%, 44.3%) |
| CIE-LAB | lab(37.34, 17.24, -33.47) |
| CIE-LCH | lch(37.34, 37.65, 297.26°) |
| OKLab | oklab(46.65% 0.0239 -0.0943) |
| OKLCH | oklch(46.65% 0.097 284.2) |
| XYZ | xyz(11.4797, 9.7222, 26.8577) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.56
Dusk
#4E5481
ΔE00 3.74
Blueberry
#464196
ΔE00 6.20
Darkslateblue
#483D8B
ΔE00 6.55
Dusky Blue
#475F94
ΔE00 7.43
Denim Blue
#3B5B92
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54518E #8B8E51
analogous
#516C8E #54518E #72518E
triadic
#54518E #8E5451 #518E54
tetradic
#54518E #8E516C #8B8E51 #518E72
square
#54518E #8E516C #8B8E51 #518E72
split-complementary
#54518E #8E7251 #6C8E51
monochromatic
#262540 #3D3B67 #54518E #726FAD #9896C3
Accessibility & contrast
On white
7.13
#54518E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#54518E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #54518E
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54518E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54518E | 1.00 | 7.13 | 2.94 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C5A90
Deuteranopia (green-blind)
#3A568D
Tritanopia (blue-blind)
#435D68
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #54518e; /* rgb */ color: rgb(84, 81, 142); /* oklch */ color: oklch(46.7% 0.097 284.2);
Tailwind
colors: {
custom: {
50: '#8781af',
500: '#54518e',
950: '#000000',
},
}SCSS
$custom: #54518e; $custom-light: #8781af; $custom-dark: #000000;
JSON
{
"hex": "#54518e",
"rgb": {
"r": 84,
"g": 81,
"b": 142
},
"hsl": {
"h": 242.951,
"s": 27.354,
"l": 43.725
},
"oklch": {
"l": 0.46653,
"c": 0.09727,
"h": 284.2
},
"luminance": 0.09723
}Semantic roles & 50–950 ramp
primary
#54518E
secondary
#AEB08B
accent
#C464BF
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0B0A10
muted
#7C7C7F