#545495#545495
#545495 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.7% C 0.103 H 281.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #545495 |
|---|---|
| RGB | rgb(84, 84, 149) |
| HSL | hsl(240, 28%, 46%) |
| HSV | hsv(240, 44%, 58%) |
| CMYK | cmyk(43.6%, 43.6%, 0%, 41.6%) |
| CIE-LAB | lab(38.54, 17.47, -35.80) |
| CIE-LCH | lch(38.54, 39.83, 296.01°) |
| OKLab | oklab(47.7% 0.021 -0.1011) |
| OKLCH | oklch(47.7% 0.103 281.8) |
| XYZ | xyz(12.2497, 10.3949, 29.7889) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.05
Dusk
#4E5481
ΔE00 4.28
Dusky Blue
#475F94
ΔE00 6.26
Blueberry
#464196
ΔE00 6.43
Darkslateblue
#483D8B
ΔE00 7.30
Denim Blue
#3B5B92
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545495 #959554
analogous
#547495 #545495 #745495
triadic
#545495 #955454 #549554
tetradic
#545495 #955474 #959554 #549574
square
#545495 #955474 #959554 #549574
split-complementary
#545495 #957454 #749554
monochromatic
#282847 #3E3E6E #545495 #7575B1 #9C9CC7
Accessibility & contrast
On white
6.82
#545495 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#545495 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545495
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545495 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545495 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C5D97
Deuteranopia (green-blind)
#395894
Tritanopia (blue-blind)
#40616D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #545495; /* rgb */ color: rgb(84, 84, 149); /* oklch */ color: oklch(47.7% 0.103 281.8);
Tailwind
colors: {
custom: {
50: '#8784b4',
500: '#545495',
950: '#000000',
},
}SCSS
$custom: #545495; $custom-light: #8784b4; $custom-dark: #000000;
JSON
{
"hex": "#545495",
"rgb": {
"r": 84,
"g": 84,
"b": 149
},
"hsl": {
"h": 240,
"s": 27.897,
"l": 45.686
},
"oklch": {
"l": 0.47695,
"c": 0.10327,
"h": 281.8
},
"luminance": 0.10395
}Semantic roles & 50–950 ramp
primary
#545495
secondary
#B4B490
accent
#C464C4
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A11
muted
#7D7C80