#545181#545181
#545181 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.9% C 0.077 H 285.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #545181 |
|---|---|
| RGB | rgb(84, 81, 129) |
| HSL | hsl(244, 23%, 41%) |
| HSV | hsv(244, 37%, 51%) |
| CMYK | cmyk(34.9%, 37.2%, 0%, 49.4%) |
| CIE-LAB | lab(36.66, 13.40, -26.59) |
| CIE-LCH | lch(36.66, 29.78, 296.73°) |
| OKLab | oklab(45.91% 0.021 -0.0743) |
| OKLCH | oklch(45.91% 0.077 285.8) |
| XYZ | xyz(10.5600, 9.3544, 22.0138) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 2.64
Twilight
#4E518B
ΔE00 3.22
Darkslateblue
#483D8B
ΔE00 8.08
Blueberry
#464196
ΔE00 8.40
Dusky Blue
#475F94
ΔE00 8.53
Denim Blue
#3B5B92
ΔE00 9.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545181 #7E8151
analogous
#516681 #545181 #6C5181
triadic
#545181 #815451 #518154
tetradic
#545181 #815166 #7E8151 #51816C
square
#545181 #815166 #7E8151 #51816C
split-complementary
#545181 #816C51 #668151
monochromatic
#232236 #3C395B #545181 #706CA3 #9492BA
Accessibility & contrast
On white
7.31
#545181 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#545181 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #545181
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545181 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545181 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#425883
Deuteranopia (green-blind)
#415580
Tritanopia (blue-blind)
#495A63
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #545181; /* rgb */ color: rgb(84, 81, 129); /* oklch */ color: oklch(45.9% 0.077 285.8);
Tailwind
colors: {
custom: {
50: '#8681a6',
500: '#545181',
950: '#000000',
},
}SCSS
$custom: #545181; $custom-light: #8681a6; $custom-dark: #000000;
JSON
{
"hex": "#545181",
"rgb": {
"r": 84,
"g": 81,
"b": 129
},
"hsl": {
"h": 243.75,
"s": 22.857,
"l": 41.176
},
"oklch": {
"l": 0.4591,
"c": 0.07724,
"h": 285.8
},
"luminance": 0.09355
}Semantic roles & 50–950 ramp
primary
#545181
secondary
#A5A886
accent
#BF68BA
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A0F
muted
#7C7C7F