#545381#545381
#545381 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.3% C 0.074 H 284.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #545381 |
|---|---|
| RGB | rgb(84, 83, 129) |
| HSL | hsl(241, 22%, 42%) |
| HSV | hsv(241, 36%, 51%) |
| CMYK | cmyk(34.9%, 35.7%, 0%, 49.4%) |
| CIE-LAB | lab(37.22, 12.12, -25.72) |
| CIE-LCH | lch(37.22, 28.43, 295.23°) |
| OKLab | oklab(46.34% 0.0181 -0.0718) |
| OKLCH | oklch(46.34% 0.074 284.1) |
| XYZ | xyz(10.7108, 9.6560, 22.0641) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 2.08
Twilight
#4E518B
ΔE00 3.34
Dusky Blue
#475F94
ΔE00 8.00
Darkslateblue
#483D8B
ΔE00 8.74
Blueberry
#464196
ΔE00 8.92
Denim Blue
#3B5B92
ΔE00 9.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545381 #808153
analogous
#536981 #545381 #6B5381
triadic
#545381 #815453 #538154
tetradic
#545381 #815369 #808153 #53816B
square
#545381 #815369 #808153 #53816B
split-complementary
#545381 #816B53 #698153
monochromatic
#242337 #3C3B5C #545381 #706FA2 #9594BA
Accessibility & contrast
On white
7.16
#545381 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#545381 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #545381
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545381 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545381 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#455983
Deuteranopia (green-blind)
#445680
Tritanopia (blue-blind)
#485C64
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #545381; /* rgb */ color: rgb(84, 83, 129); /* oklch */ color: oklch(46.3% 0.074 284.1);
Tailwind
colors: {
custom: {
50: '#8683a6',
500: '#545381',
950: '#000000',
},
}SCSS
$custom: #545381; $custom-light: #8683a6; $custom-dark: #000000;
JSON
{
"hex": "#545381",
"rgb": {
"r": 84,
"g": 83,
"b": 129
},
"hsl": {
"h": 241.304,
"s": 21.698,
"l": 41.569
},
"oklch": {
"l": 0.4634,
"c": 0.07402,
"h": 284.1
},
"luminance": 0.09656
}Semantic roles & 50–950 ramp
primary
#545381
secondary
#A7A888
accent
#BE6ABC
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A0F
muted
#7C7C7F