#545987#545987
#545987 is a mid, moderate blue. Relative luminance 0.108; OKLCH L 48.0% C 0.074 H 278.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #545987 |
|---|---|
| RGB | rgb(84, 89, 135) |
| HSL | hsl(234, 23%, 43%) |
| HSV | hsv(234, 38%, 53%) |
| CMYK | cmyk(37.8%, 34.1%, 0%, 47.1%) |
| CIE-LAB | lab(39.20, 10.07, -26.28) |
| CIE-LCH | lch(39.20, 28.14, 290.96°) |
| OKLab | oklab(47.97% 0.0109 -0.0734) |
| OKLCH | oklch(47.97% 0.074 278.5) |
| XYZ | xyz(11.6005, 10.7784, 24.3862) |
| Luminance | 0.1078 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 1.89
Twilight
#4E518B
ΔE00 3.46
Dusky Blue
#475F94
ΔE00 5.75
Denim Blue
#3B5B92
ΔE00 7.31
Blueberry
#464196
ΔE00 9.56
Dusk Blue
#26538D
ΔE00 9.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545987 #878254
analogous
#547287 #545987 #685487
triadic
#545987 #875459 #598754
tetradic
#545987 #875472 #878254 #548768
square
#545987 #875472 #878254 #548768
split-complementary
#545987 #876854 #728754
monochromatic
#25273C #3D4061 #545987 #7177A7 #979BBE
Accessibility & contrast
On white
6.65
#545987 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#545987 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545987
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545987 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545987 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5E89
Deuteranopia (green-blind)
#475B86
Tritanopia (blue-blind)
#45626A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #545987; /* rgb */ color: rgb(84, 89, 135); /* oklch */ color: oklch(48.0% 0.074 278.5);
Tailwind
colors: {
custom: {
50: '#8687aa',
500: '#545987',
950: '#000000',
},
}SCSS
$custom: #545987; $custom-light: #8687aa; $custom-dark: #000000;
JSON
{
"hex": "#545987",
"rgb": {
"r": 84,
"g": 89,
"b": 135
},
"hsl": {
"h": 234.118,
"s": 23.288,
"l": 42.941
},
"oklch": {
"l": 0.47965,
"c": 0.07422,
"h": 278.5
},
"luminance": 0.10779
}Semantic roles & 50–950 ramp
primary
#545987
secondary
#ACA88B
accent
#B768C0
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F