#545286#545286
#545286 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.4% C 0.083 H 284.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #545286 |
|---|---|
| RGB | rgb(84, 82, 134) |
| HSL | hsl(242, 24%, 42%) |
| HSV | hsv(242, 39%, 53%) |
| CMYK | cmyk(37.3%, 38.8%, 0%, 47.5%) |
| CIE-LAB | lab(37.19, 14.22, -28.83) |
| CIE-LCH | lch(37.19, 32.14, 296.25°) |
| OKLab | oklab(46.4% 0.0208 -0.0808) |
| OKLCH | oklch(46.4% 0.083 284.4) |
| XYZ | xyz(10.9753, 9.6403, 23.8321) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.21
Dusk
#4E5481
ΔE00 2.49
Darkslateblue
#483D8B
ΔE00 7.67
Blueberry
#464196
ΔE00 7.70
Dusky Blue
#475F94
ΔE00 7.72
Denim Blue
#3B5B92
ΔE00 8.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545286 #848652
analogous
#526A86 #545286 #6E5286
triadic
#545286 #865452 #528654
tetradic
#545286 #86526A #848652 #52866E
square
#545286 #86526A #848652 #52866E
split-complementary
#545286 #866E52 #6A8652
monochromatic
#24243A #3C3B60 #545286 #716FA7 #9695BE
Accessibility & contrast
On white
7.17
#545286 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#545286 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #545286
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545286 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545286 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415988
Deuteranopia (green-blind)
#405685
Tritanopia (blue-blind)
#475C65
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #545286; /* rgb */ color: rgb(84, 82, 134); /* oklch */ color: oklch(46.4% 0.083 284.4);
Tailwind
colors: {
custom: {
50: '#8682a9',
500: '#545286',
950: '#000000',
},
}SCSS
$custom: #545286; $custom-light: #8682a9; $custom-dark: #000000;
JSON
{
"hex": "#545286",
"rgb": {
"r": 84,
"g": 82,
"b": 134
},
"hsl": {
"h": 242.308,
"s": 24.074,
"l": 42.353
},
"oklch": {
"l": 0.464,
"c": 0.08341,
"h": 284.4
},
"luminance": 0.09641
}Semantic roles & 50–950 ramp
primary
#545286
secondary
#AAAB89
accent
#C167BD
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F