#54519C#54519C
#54519C is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.5% C 0.118 H 282.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #54519C |
|---|---|
| RGB | rgb(84, 81, 156) |
| HSL | hsl(242, 32%, 46%) |
| HSV | hsv(242, 48%, 61%) |
| CMYK | cmyk(46.2%, 48.1%, 0%, 38.8%) |
| CIE-LAB | lab(38.14, 21.55, -40.64) |
| CIE-LCH | lch(38.14, 46.00, 297.93°) |
| OKLab | oklab(47.53% 0.0261 -0.1153) |
| OKLCH | oklch(47.53% 0.118 282.7) |
| XYZ | xyz(12.5976, 10.1694, 32.7452) |
| Luminance | 0.1017 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.41
Blueberry
#464196
ΔE00 5.16
Dusk
#4E5481
ΔE00 5.94
Darkslateblue
#483D8B
ΔE00 6.39
Ocean Blue
#4F42B5
ΔE00 6.61
Iris
#6258C4
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54519C #999C51
analogous
#51749C #54519C #7A519C
triadic
#54519C #9C5451 #519C54
tetradic
#54519C #9C5174 #999C51 #519C7A
square
#54519C #9C5174 #999C51 #519C7A
split-complementary
#54519C #9C7A51 #749C51
monochromatic
#29274B #3E3C74 #54519C #7674B7 #9E9CCC
Accessibility & contrast
On white
6.92
#54519C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#54519C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #54519C
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54519C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54519C | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325C9F
Deuteranopia (green-blind)
#2E579A
Tritanopia (blue-blind)
#3C616F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #54519c; /* rgb */ color: rgb(84, 81, 156); /* oklch */ color: oklch(47.5% 0.118 282.7);
Tailwind
colors: {
custom: {
50: '#8881ba',
500: '#54519c',
950: '#000000',
},
}SCSS
$custom: #54519c; $custom-light: #8881ba; $custom-dark: #000000;
JSON
{
"hex": "#54519c",
"rgb": {
"r": 84,
"g": 81,
"b": 156
},
"hsl": {
"h": 242.4,
"s": 31.646,
"l": 46.471
},
"oklch": {
"l": 0.47526,
"c": 0.11821,
"h": 282.7
},
"luminance": 0.1017
}Semantic roles & 50–950 ramp
primary
#54519C
secondary
#B7B890
accent
#C860C4
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80