#545271#545271
#545271 is a mid, muted blue. Relative luminance 0.091; OKLCH L 45.3% C 0.050 H 287.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #545271 |
|---|---|
| RGB | rgb(84, 82, 113) |
| HSL | hsl(244, 16%, 38%) |
| HSV | hsv(244, 27%, 44%) |
| CMYK | cmyk(25.7%, 27.4%, 0%, 55.7%) |
| CIE-LAB | lab(36.20, 8.29, -17.42) |
| CIE-LCH | lch(36.20, 19.29, 295.45°) |
| OKLab | oklab(45.31% 0.0148 -0.048) |
| OKLCH | oklch(45.31% 0.05 287.2) |
| XYZ | xyz(9.6534, 9.1115, 16.8697) |
| Luminance | 0.0911 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 5.15
Twilight
#4E518B
ΔE00 7.66
Dusky Blue
#475F94
ΔE00 10.79
Purplish Grey
#7A687F
ΔE00 11.41
Denim Blue
#3B5B92
ΔE00 11.91
Darkslateblue
#483D8B
ΔE00 11.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545271 #6F7152
analogous
#525F71 #545271 #635271
triadic
#545271 #715452 #527154
tetradic
#545271 #71525F #6F7152 #527163
square
#545271 #71525F #6F7152 #527163
split-complementary
#545271 #716352 #5F7152
monochromatic
#1F1F2A #3A384E #545271 #6F6C94 #918FAE
Accessibility & contrast
On white
7.44
#545271 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#545271 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #545271
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545271 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5672
Deuteranopia (green-blind)
#495470
Tritanopia (blue-blind)
#4E575D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #545271; /* rgb */ color: rgb(84, 82, 113); /* oklch */ color: oklch(45.3% 0.050 287.2);
Tailwind
colors: {
custom: {
50: '#84829a',
500: '#545271',
950: '#000000',
},
}SCSS
$custom: #545271; $custom-light: #84829a; $custom-dark: #000000;
JSON
{
"hex": "#545271",
"rgb": {
"r": 84,
"g": 82,
"b": 113
},
"hsl": {
"h": 243.871,
"s": 15.897,
"l": 38.235
},
"oklch": {
"l": 0.45311,
"c": 0.05025,
"h": 287.2
},
"luminance": 0.09112
}Semantic roles & 50–950 ramp
primary
#545271
secondary
#9A9C83
accent
#B96FB4
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0B0A0E
muted
#7C7C7E