#545170#545170
#545170 is a mid, muted blue. Relative luminance 0.089; OKLCH L 45.0% C 0.050 H 288.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #545170 |
|---|---|
| RGB | rgb(84, 81, 112) |
| HSL | hsl(246, 16%, 38%) |
| HSV | hsv(246, 28%, 44%) |
| CMYK | cmyk(25%, 27.7%, 0%, 56.1%) |
| CIE-LAB | lab(35.87, 8.66, -17.31) |
| CIE-LCH | lch(35.87, 19.35, 296.57°) |
| OKLab | oklab(45.04% 0.0161 -0.0477) |
| OKLCH | oklch(45.04% 0.05 288.6) |
| XYZ | xyz(9.5225, 8.9394, 16.5499) |
| Luminance | 0.0894 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 5.42
Twilight
#4E518B
ΔE00 7.85
Dusky Blue
#475F94
ΔE00 11.20
Purplish Grey
#7A687F
ΔE00 11.43
Darkslateblue
#483D8B
ΔE00 11.95
Muted Purple
#805B87
ΔE00 12.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545170 #6D7051
analogous
#515D70 #545170 #635170
triadic
#545170 #705451 #517054
tetradic
#545170 #70515D #6D7051 #517063
square
#545170 #70515D #6D7051 #517063
split-complementary
#545170 #706351 #5D7051
monochromatic
#1F1E29 #39374C #545170 #6F6B94 #918EAD
Accessibility & contrast
On white
7.53
#545170 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#545170 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #545170
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545170 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545170 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495571
Deuteranopia (green-blind)
#49546F
Tritanopia (blue-blind)
#4E565C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #545170; /* rgb */ color: rgb(84, 81, 112); /* oklch */ color: oklch(45.0% 0.050 288.6);
Tailwind
colors: {
custom: {
50: '#848199',
500: '#545170',
950: '#000000',
},
}SCSS
$custom: #545170; $custom-light: #848199; $custom-dark: #000000;
JSON
{
"hex": "#545170",
"rgb": {
"r": 84,
"g": 81,
"b": 112
},
"hsl": {
"h": 245.806,
"s": 16.062,
"l": 37.843
},
"oklch": {
"l": 0.45041,
"c": 0.05032,
"h": 288.6
},
"luminance": 0.0894
}Semantic roles & 50–950 ramp
primary
#545170
secondary
#999B82
accent
#B96FB2
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0B0A0E
muted
#7C7C7E