#545498#545498
#545498 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.9% C 0.108 H 281.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #545498 |
|---|---|
| RGB | rgb(84, 84, 152) |
| HSL | hsl(240, 29%, 46%) |
| HSV | hsv(240, 45%, 60%) |
| CMYK | cmyk(44.7%, 44.7%, 0%, 40.4%) |
| CIE-LAB | lab(38.71, 18.39, -37.34) |
| CIE-LCH | lch(38.71, 41.62, 296.23°) |
| OKLab | oklab(47.88% 0.0216 -0.1056) |
| OKLCH | oklch(47.88% 0.108 281.5) |
| XYZ | xyz(12.4923, 10.4919, 31.0666) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.52
Dusk
#4E5481
ΔE00 4.80
Dusky Blue
#475F94
ΔE00 6.23
Blueberry
#464196
ΔE00 6.24
Darkslateblue
#483D8B
ΔE00 7.28
Denim Blue
#3B5B92
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545498 #989854
analogous
#547698 #545498 #765498
triadic
#545498 #985454 #549854
tetradic
#545498 #985476 #989854 #549876
square
#545498 #985476 #989854 #549876
split-complementary
#545498 #987654 #769854
monochromatic
#282849 #3E3E71 #545498 #7676B3 #9D9DC9
Accessibility & contrast
On white
6.78
#545498 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#545498 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545498
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545498 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545498 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5E9B
Deuteranopia (green-blind)
#365996
Tritanopia (blue-blind)
#3E626E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #545498; /* rgb */ color: rgb(84, 84, 152); /* oklch */ color: oklch(47.9% 0.108 281.5);
Tailwind
colors: {
custom: {
50: '#8884b7',
500: '#545498',
950: '#000000',
},
}SCSS
$custom: #545498; $custom-light: #8884b7; $custom-dark: #000000;
JSON
{
"hex": "#545498",
"rgb": {
"r": 84,
"g": 84,
"b": 152
},
"hsl": {
"h": 240,
"s": 28.814,
"l": 46.275
},
"oklch": {
"l": 0.47879,
"c": 0.10778,
"h": 281.5
},
"luminance": 0.10492
}Semantic roles & 50–950 ramp
primary
#545498
secondary
#B6B692
accent
#C563C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A11
muted
#7D7C80