#545174#545174
#545174 is a mid, muted blue. Relative luminance 0.090; OKLCH L 45.2% C 0.057 H 287.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #545174 |
|---|---|
| RGB | rgb(84, 81, 116) |
| HSL | hsl(245, 18%, 39%) |
| HSV | hsv(245, 30%, 45%) |
| CMYK | cmyk(27.6%, 30.2%, 0%, 54.5%) |
| CIE-LAB | lab(36.04, 9.74, -19.52) |
| CIE-LCH | lch(36.04, 21.82, 296.51°) |
| OKLab | oklab(45.24% 0.0174 -0.054) |
| OKLCH | oklch(45.24% 0.057 287.8) |
| XYZ | xyz(9.7502, 9.0304, 17.7490) |
| Luminance | 0.0903 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 4.43
Twilight
#4E518B
ΔE00 6.62
Dusky Blue
#475F94
ΔE00 10.46
Darkslateblue
#483D8B
ΔE00 10.86
Blueberry
#464196
ΔE00 11.54
Denim Blue
#3B5B92
ΔE00 11.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545174 #717451
analogous
#515F74 #545174 #655174
triadic
#545174 #745451 #517454
tetradic
#545174 #74515F #717451 #517465
square
#545174 #74515F #717451 #517465
split-complementary
#545174 #746551 #5F7451
monochromatic
#201F2C #3A3850 #545174 #6F6B97 #928FB1
Accessibility & contrast
On white
7.48
#545174 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#545174 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #545174
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545174 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545174 | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#485675
Deuteranopia (green-blind)
#475473
Tritanopia (blue-blind)
#4D575D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #545174; /* rgb */ color: rgb(84, 81, 116); /* oklch */ color: oklch(45.2% 0.057 287.8);
Tailwind
colors: {
custom: {
50: '#85819c',
500: '#545174',
950: '#000000',
},
}SCSS
$custom: #545174; $custom-light: #85819c; $custom-dark: #000000;
JSON
{
"hex": "#545174",
"rgb": {
"r": 84,
"g": 81,
"b": 116
},
"hsl": {
"h": 245.143,
"s": 17.766,
"l": 38.627
},
"oklch": {
"l": 0.45235,
"c": 0.05672,
"h": 287.8
},
"luminance": 0.09031
}Semantic roles & 50–950 ramp
primary
#545174
secondary
#9C9E83
accent
#BA6DB4
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0B0A0E
muted
#7C7C7E