#54549F#54549F
#54549F is a mid, moderate blue. Relative luminance 0.107; OKLCH L 48.3% C 0.118 H 281.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #54549F |
|---|---|
| RGB | rgb(84, 84, 159) |
| HSL | hsl(240, 31%, 48%) |
| HSV | hsv(240, 47%, 62%) |
| CMYK | cmyk(47.2%, 47.2%, 0%, 37.6%) |
| CIE-LAB | lab(39.12, 20.58, -40.89) |
| CIE-LCH | lch(39.12, 45.77, 296.72°) |
| OKLab | oklab(48.32% 0.0226 -0.116) |
| OKLCH | oklch(48.32% 0.118 281) |
| XYZ | xyz(13.0826, 10.7280, 34.1755) |
| Luminance | 0.1073 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.69
Dusk
#4E5481
ΔE00 6.00
Blueberry
#464196
ΔE00 6.04
Dusky Blue
#475F94
ΔE00 6.32
Iris
#6258C4
ΔE00 6.34
Ocean Blue
#4F42B5
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54549F #9F9F54
analogous
#54799F #54549F #79549F
triadic
#54549F #9F5454 #549F54
tetradic
#54549F #9F5479 #9F9F54 #549F79
square
#54549F #9F5479 #9F9F54 #549F79
split-complementary
#54549F #9F7954 #799F54
monochromatic
#2A2A4F #3F3F77 #54549F #7878B8 #A0A0CD
Accessibility & contrast
On white
6.68
#54549F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#54549F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #54549F
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54549F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54549F | 1.00 | 6.68 | 3.15 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#355FA2
Deuteranopia (green-blind)
#30599D
Tritanopia (blue-blind)
#3A6472
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #54549f; /* rgb */ color: rgb(84, 84, 159); /* oklch */ color: oklch(48.3% 0.118 281.0);
Tailwind
colors: {
custom: {
50: '#8984bc',
500: '#54549f',
950: '#000000',
},
}SCSS
$custom: #54549f; $custom-light: #8984bc; $custom-dark: #000000;
JSON
{
"hex": "#54549f",
"rgb": {
"r": 84,
"g": 84,
"b": 159
},
"hsl": {
"h": 240,
"s": 30.864,
"l": 47.647
},
"oklch": {
"l": 0.4832,
"c": 0.11818,
"h": 281
},
"luminance": 0.10729
}Semantic roles & 50–950 ramp
primary
#54549F
secondary
#BABA94
accent
#C761C7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A12
muted
#7D7C81