#545786#545786
#545786 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.5% C 0.076 H 280.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #545786 |
|---|---|
| RGB | rgb(84, 87, 134) |
| HSL | hsl(236, 23%, 43%) |
| HSV | hsv(236, 37%, 53%) |
| CMYK | cmyk(37.3%, 35.1%, 0%, 47.5%) |
| CIE-LAB | lab(38.59, 11.04, -26.63) |
| CIE-LCH | lch(38.59, 28.83, 292.51°) |
| OKLab | oklab(47.48% 0.0135 -0.0744) |
| OKLCH | oklch(47.48% 0.076 280.3) |
| XYZ | xyz(11.3662, 10.4220, 23.9624) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 1.59
Twilight
#4E518B
ΔE00 3.03
Dusky Blue
#475F94
ΔE00 6.37
Denim Blue
#3B5B92
ΔE00 7.81
Blueberry
#464196
ΔE00 9.13
Darkslateblue
#483D8B
ΔE00 9.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545786 #868354
analogous
#547086 #545786 #6A5486
triadic
#545786 #865457 #578654
tetradic
#545786 #865470 #868354 #54866A
square
#545786 #865470 #868354 #54866A
split-complementary
#545786 #866A54 #708654
monochromatic
#25263B #3C3F60 #545786 #7174A6 #9799BE
Accessibility & contrast
On white
6.81
#545786 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#545786 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545786
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545786 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#485D88
Deuteranopia (green-blind)
#455985
Tritanopia (blue-blind)
#466068
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #545786; /* rgb */ color: rgb(84, 87, 134); /* oklch */ color: oklch(47.5% 0.076 280.3);
Tailwind
colors: {
custom: {
50: '#8686a9',
500: '#545786',
950: '#000000',
},
}SCSS
$custom: #545786; $custom-light: #8686a9; $custom-dark: #000000;
JSON
{
"hex": "#545786",
"rgb": {
"r": 84,
"g": 87,
"b": 134
},
"hsl": {
"h": 236.4,
"s": 22.936,
"l": 42.745
},
"oklch": {
"l": 0.47475,
"c": 0.07565,
"h": 280.3
},
"luminance": 0.10422
}Semantic roles & 50–950 ramp
primary
#545786
secondary
#ABA98B
accent
#BA68BF
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F