#4E5987#4E5987
#4E5987 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.5% C 0.076 H 273.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5987 |
|---|---|
| RGB | rgb(78, 89, 135) |
| HSL | hsl(228, 27%, 42%) |
| HSV | hsv(228, 42%, 53%) |
| CMYK | cmyk(42.2%, 34.1%, 0%, 47.1%) |
| CIE-LAB | lab(38.75, 8.31, -27.02) |
| CIE-LCH | lch(38.75, 28.27, 287.10°) |
| OKLab | oklab(47.5% 0.0039 -0.0757) |
| OKLCH | oklch(47.5% 0.076 273) |
| XYZ | xyz(11.0861, 10.5132, 24.3621) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 2.17
Twilight
#4E518B
ΔE00 3.49
Dusky Blue
#475F94
ΔE00 4.22
Denim Blue
#3B5B92
ΔE00 5.53
Dusk Blue
#26538D
ΔE00 7.98
Light Navy Blue
#2E5A88
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5987 #877C4E
analogous
#4E7687 #4E5987 #604E87
triadic
#4E5987 #874E59 #59874E
tetradic
#4E5987 #874E76 #877C4E #4E8760
square
#4E5987 #874E76 #877C4E #4E8760
split-complementary
#4E5987 #87604E #76874E
monochromatic
#212639 #383F60 #4E5987 #6A76A9 #9099BF
Accessibility & contrast
On white
6.77
#4E5987 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#4E5987 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5987
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5987 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5987 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495E89
Deuteranopia (green-blind)
#455986
Tritanopia (blue-blind)
#3C626A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4e5987; /* rgb */ color: rgb(78, 89, 135); /* oklch */ color: oklch(47.5% 0.076 273.0);
Tailwind
colors: {
custom: {
50: '#8287aa',
500: '#4e5987',
950: '#000000',
},
}SCSS
$custom: #4e5987; $custom-light: #8287aa; $custom-dark: #000000;
JSON
{
"hex": "#4e5987",
"rgb": {
"r": 78,
"g": 89,
"b": 135
},
"hsl": {
"h": 228.421,
"s": 26.761,
"l": 41.765
},
"oklch": {
"l": 0.47496,
"c": 0.07579,
"h": 273
},
"luminance": 0.10514
}Semantic roles & 50–950 ramp
primary
#4E5987
secondary
#ACA485
accent
#B165C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F