#54529F#54529F
#54529F is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.9% C 0.121 H 282.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #54529F |
|---|---|
| RGB | rgb(84, 82, 159) |
| HSL | hsl(242, 32%, 47%) |
| HSV | hsv(242, 48%, 62%) |
| CMYK | cmyk(47.2%, 48.4%, 0%, 37.6%) |
| CIE-LAB | lab(38.59, 21.85, -41.73) |
| CIE-LCH | lch(38.59, 47.11, 297.64°) |
| OKLab | oklab(47.92% 0.0252 -0.1185) |
| OKLCH | oklch(47.92% 0.121 282) |
| XYZ | xyz(12.9296, 10.4220, 34.1245) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.80
Blueberry
#464196
ΔE00 5.43
Dusk
#4E5481
ΔE00 6.26
Iris
#6258C4
ΔE00 6.36
Ocean Blue
#4F42B5
ΔE00 6.47
Darkslateblue
#483D8B
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54529F #9D9F52
analogous
#52779F #54529F #7A529F
triadic
#54529F #9F5452 #529F54
tetradic
#54529F #9F5277 #9D9F52 #529F7A
square
#54529F #9F5277 #9D9F52 #529F7A
split-complementary
#54529F #9F7A52 #779F52
monochromatic
#29284E #3F3D77 #54529F #7876B8 #9F9ECD
Accessibility & contrast
On white
6.81
#54529F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#54529F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #54529F
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54529F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54529F | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315EA2
Deuteranopia (green-blind)
#2D589D
Tritanopia (blue-blind)
#3A6271
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #54529f; /* rgb */ color: rgb(84, 82, 159); /* oklch */ color: oklch(47.9% 0.121 282.0);
Tailwind
colors: {
custom: {
50: '#8982bc',
500: '#54529f',
950: '#000000',
},
}SCSS
$custom: #54529f; $custom-light: #8982bc; $custom-dark: #000000;
JSON
{
"hex": "#54529f",
"rgb": {
"r": 84,
"g": 82,
"b": 159
},
"hsl": {
"h": 241.558,
"s": 31.95,
"l": 47.255
},
"oklch": {
"l": 0.4792,
"c": 0.12113,
"h": 282
},
"luminance": 0.10423
}Semantic roles & 50–950 ramp
primary
#54529F
secondary
#B9BA93
accent
#C860C5
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A12
muted
#7D7C81