#545172#545172
#545172 is a mid, muted blue. Relative luminance 0.090; OKLCH L 45.1% C 0.054 H 288.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #545172 |
|---|---|
| RGB | rgb(84, 81, 114) |
| HSL | hsl(245, 17%, 38%) |
| HSV | hsv(245, 29%, 45%) |
| CMYK | cmyk(26.3%, 28.9%, 0%, 55.3%) |
| CIE-LAB | lab(35.95, 9.20, -18.42) |
| CIE-LCH | lch(35.95, 20.59, 296.53°) |
| OKLab | oklab(45.14% 0.0167 -0.0508) |
| OKLCH | oklch(45.14% 0.054 288.2) |
| XYZ | xyz(9.6351, 8.9844, 17.1429) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 4.91
Twilight
#4E518B
ΔE00 7.22
Dusky Blue
#475F94
ΔE00 10.82
Darkslateblue
#483D8B
ΔE00 11.39
Purplish Grey
#7A687F
ΔE00 11.57
Denim Blue
#3B5B92
ΔE00 11.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545172 #6F7251
analogous
#515E72 #545172 #645172
triadic
#545172 #725451 #517254
tetradic
#545172 #72515E #6F7251 #517264
square
#545172 #72515E #6F7251 #517264
split-complementary
#545172 #726451 #5E7251
monochromatic
#1F1E2A #3A384E #545172 #6F6B96 #918EAF
Accessibility & contrast
On white
7.51
#545172 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#545172 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #545172
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545172 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545172 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#485573
Deuteranopia (green-blind)
#485471
Tritanopia (blue-blind)
#4D575D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #545172; /* rgb */ color: rgb(84, 81, 114); /* oklch */ color: oklch(45.1% 0.054 288.2);
Tailwind
colors: {
custom: {
50: '#85819a',
500: '#545172',
950: '#000000',
},
}SCSS
$custom: #545172; $custom-light: #85819a; $custom-dark: #000000;
JSON
{
"hex": "#545172",
"rgb": {
"r": 84,
"g": 81,
"b": 114
},
"hsl": {
"h": 245.455,
"s": 16.923,
"l": 38.235
},
"oklch": {
"l": 0.45137,
"c": 0.05352,
"h": 288.2
},
"luminance": 0.08985
}Semantic roles & 50–950 ramp
primary
#545172
secondary
#9A9D82
accent
#BA6EB3
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0B0A0E
muted
#7C7C7E