#54539F#54539F
#54539F is a mid, moderate blue. Relative luminance 0.106; OKLCH L 48.1% C 0.120 H 281.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #54539F |
|---|---|
| RGB | rgb(84, 83, 159) |
| HSL | hsl(241, 31%, 47%) |
| HSV | hsv(241, 48%, 62%) |
| CMYK | cmyk(47.2%, 47.8%, 0%, 37.6%) |
| CIE-LAB | lab(38.85, 21.21, -41.31) |
| CIE-LCH | lch(38.85, 46.44, 297.18°) |
| OKLab | oklab(48.12% 0.0239 -0.1172) |
| OKLCH | oklch(48.12% 0.12 281.5) |
| XYZ | xyz(13.0055, 10.5739, 34.1499) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.73
Blueberry
#464196
ΔE00 5.73
Dusk
#4E5481
ΔE00 6.12
Iris
#6258C4
ΔE00 6.34
Dusky Blue
#475F94
ΔE00 6.63
Ocean Blue
#4F42B5
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54539F #9E9F53
analogous
#53789F #54539F #7A539F
triadic
#54539F #9F5453 #539F54
tetradic
#54539F #9F5378 #9E9F53 #539F7A
square
#54539F #9F5378 #9E9F53 #539F7A
split-complementary
#54539F #9F7A53 #789F53
monochromatic
#2A294F #3F3E77 #54539F #7877B8 #A09FCD
Accessibility & contrast
On white
6.74
#54539F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#54539F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #54539F
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54539F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54539F | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#335EA2
Deuteranopia (green-blind)
#2F599D
Tritanopia (blue-blind)
#3A6371
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #54539f; /* rgb */ color: rgb(84, 83, 159); /* oklch */ color: oklch(48.1% 0.120 281.5);
Tailwind
colors: {
custom: {
50: '#8983bc',
500: '#54539f',
950: '#000000',
},
}SCSS
$custom: #54539f; $custom-light: #8983bc; $custom-dark: #000000;
JSON
{
"hex": "#54539f",
"rgb": {
"r": 84,
"g": 83,
"b": 159
},
"hsl": {
"h": 240.789,
"s": 31.405,
"l": 47.451
},
"oklch": {
"l": 0.48119,
"c": 0.11966,
"h": 281.5
},
"luminance": 0.10575
}Semantic roles & 50–950 ramp
primary
#54539F
secondary
#BABA94
accent
#C860C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A12
muted
#7D7C81