#54519F#54519F
#54519F is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.7% C 0.123 H 282.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #54519F |
|---|---|
| RGB | rgb(84, 81, 159) |
| HSL | hsl(242, 33%, 47%) |
| HSV | hsv(242, 49%, 62%) |
| CMYK | cmyk(47.2%, 49.1%, 0%, 37.6%) |
| CIE-LAB | lab(38.33, 22.48, -42.15) |
| CIE-LCH | lch(38.33, 47.77, 298.08°) |
| OKLab | oklab(47.72% 0.0264 -0.1197) |
| OKLCH | oklch(47.72% 0.123 282.4) |
| XYZ | xyz(12.8547, 10.2723, 34.0996) |
| Luminance | 0.1027 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.91
Blueberry
#464196
ΔE00 5.13
Ocean Blue
#4F42B5
ΔE00 6.20
Iris
#6258C4
ΔE00 6.40
Dusk
#4E5481
ΔE00 6.41
Darkslateblue
#483D8B
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54519F #9C9F51
analogous
#51759F #54519F #7B519F
triadic
#54519F #9F5451 #519F54
tetradic
#54519F #9F5175 #9C9F51 #519F7B
square
#54519F #9F5175 #9C9F51 #519F7B
split-complementary
#54519F #9F7B51 #759F51
monochromatic
#29284E #3F3C76 #54519F #7775B9 #9F9DCD
Accessibility & contrast
On white
6.87
#54519F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#54519F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #54519F
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54519F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54519F | 1.00 | 6.87 | 3.05 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305DA2
Deuteranopia (green-blind)
#2B589D
Tritanopia (blue-blind)
#3A6170
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #54519f; /* rgb */ color: rgb(84, 81, 159); /* oklch */ color: oklch(47.7% 0.123 282.4);
Tailwind
colors: {
custom: {
50: '#8981bc',
500: '#54519f',
950: '#000000',
},
}SCSS
$custom: #54519f; $custom-light: #8981bc; $custom-dark: #000000;
JSON
{
"hex": "#54519f",
"rgb": {
"r": 84,
"g": 81,
"b": 159
},
"hsl": {
"h": 242.308,
"s": 32.5,
"l": 47.059
},
"oklch": {
"l": 0.47722,
"c": 0.12261,
"h": 282.4
},
"luminance": 0.10273
}Semantic roles & 50–950 ramp
primary
#54519F
secondary
#B9BA92
accent
#C95FC5
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A12
muted
#7D7C81