#545581#545581
#545581 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.8% C 0.071 H 282.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #545581 |
|---|---|
| RGB | rgb(84, 85, 129) |
| HSL | hsl(239, 21%, 42%) |
| HSV | hsv(239, 35%, 51%) |
| CMYK | cmyk(34.9%, 34.1%, 0%, 49.4%) |
| CIE-LAB | lab(37.78, 10.85, -24.84) |
| CIE-LCH | lch(37.78, 27.10, 293.60°) |
| OKLab | oklab(46.77% 0.0151 -0.0693) |
| OKLCH | oklch(46.77% 0.071 282.3) |
| XYZ | xyz(10.8660, 9.9665, 22.1158) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 1.72
Twilight
#4E518B
ΔE00 3.63
Dusky Blue
#475F94
ΔE00 7.49
Denim Blue
#3B5B92
ΔE00 8.79
Darkslateblue
#483D8B
ΔE00 9.40
Blueberry
#464196
ΔE00 9.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545581 #818054
analogous
#546C81 #545581 #6A5481
triadic
#545581 #815455 #558154
tetradic
#545581 #81546C #818054 #54816A
square
#545581 #81546C #818054 #54816A
split-complementary
#545581 #816A54 #6C8154
monochromatic
#242437 #3C3D5C #545581 #7071A2 #9596BA
Accessibility & contrast
On white
7.02
#545581 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#545581 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #545581
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545581 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545581 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#485A83
Deuteranopia (green-blind)
#465780
Tritanopia (blue-blind)
#485D65
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #545581; /* rgb */ color: rgb(84, 85, 129); /* oklch */ color: oklch(46.8% 0.071 282.3);
Tailwind
colors: {
custom: {
50: '#8584a5',
500: '#545581',
950: '#000000',
},
}SCSS
$custom: #545581; $custom-light: #8584a5; $custom-dark: #000000;
JSON
{
"hex": "#545581",
"rgb": {
"r": 84,
"g": 85,
"b": 129
},
"hsl": {
"h": 238.667,
"s": 21.127,
"l": 41.765
},
"oklch": {
"l": 0.46774,
"c": 0.07088,
"h": 282.3
},
"luminance": 0.09967
}Semantic roles & 50–950 ramp
primary
#545581
secondary
#A8A789
accent
#BC6ABE
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B0F
muted
#7C7C7F