#4E5087#4E5087
#4E5087 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.5% C 0.089 H 280.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5087 |
|---|---|
| RGB | rgb(78, 80, 135) |
| HSL | hsl(238, 27%, 42%) |
| HSV | hsv(238, 42%, 53%) |
| CMYK | cmyk(42.2%, 40.7%, 0%, 47.1%) |
| CIE-LAB | lab(36.19, 14.07, -31.05) |
| CIE-LCH | lch(36.19, 34.09, 294.38°) |
| OKLab | oklab(45.53% 0.0165 -0.0874) |
| OKLCH | oklch(45.53% 0.089 280.7) |
| XYZ | xyz(10.3824, 9.1059, 24.1275) |
| Luminance | 0.0911 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 0.86
Dusk
#4E5481
ΔE00 2.43
Blueberry
#464196
ΔE00 6.55
Darkslateblue
#483D8B
ΔE00 6.79
Dusky Blue
#475F94
ΔE00 6.99
Denim Blue
#3B5B92
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5087 #87854E
analogous
#4E6D87 #4E5087 #694E87
triadic
#4E5087 #874E50 #50874E
tetradic
#4E5087 #874E6D #87854E #4E8769
square
#4E5087 #874E6D #87854E #4E8769
split-complementary
#4E5087 #87694E #6D874E
monochromatic
#212239 #383960 #4E5087 #6A6CA9 #9092BF
Accessibility & contrast
On white
7.44
#4E5087 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#4E5087 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E5087
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5087 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5087 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D5789
Deuteranopia (green-blind)
#3A5386
Tritanopia (blue-blind)
#3D5B65
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #4e5087; /* rgb */ color: rgb(78, 80, 135); /* oklch */ color: oklch(45.5% 0.089 280.7);
Tailwind
colors: {
custom: {
50: '#8281aa',
500: '#4e5087',
950: '#000000',
},
}SCSS
$custom: #4e5087; $custom-light: #8281aa; $custom-dark: #000000;
JSON
{
"hex": "#4e5087",
"rgb": {
"r": 78,
"g": 80,
"b": 135
},
"hsl": {
"h": 237.895,
"s": 26.761,
"l": 41.765
},
"oklch": {
"l": 0.45526,
"c": 0.08894,
"h": 280.7
},
"luminance": 0.09106
}Semantic roles & 50–950 ramp
primary
#4E5087
secondary
#ACAA85
accent
#C065C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F