#4E5887#4E5887
#4E5887 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.3% C 0.077 H 273.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5887 |
|---|---|
| RGB | rgb(78, 88, 135) |
| HSL | hsl(229, 27%, 42%) |
| HSV | hsv(229, 42%, 53%) |
| CMYK | cmyk(42.2%, 34.8%, 0%, 47.1%) |
| CIE-LAB | lab(38.46, 8.95, -27.48) |
| CIE-LCH | lch(38.46, 28.90, 288.04°) |
| OKLab | oklab(47.27% 0.0053 -0.077) |
| OKLCH | oklch(47.27% 0.077 273.9) |
| XYZ | xyz(11.0035, 10.3479, 24.3345) |
| Luminance | 0.1035 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 1.84
Twilight
#4E518B
ΔE00 3.10
Dusky Blue
#475F94
ΔE00 4.51
Denim Blue
#3B5B92
ΔE00 5.75
Dusk Blue
#26538D
ΔE00 8.09
Light Navy Blue
#2E5A88
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5887 #877D4E
analogous
#4E7587 #4E5887 #614E87
triadic
#4E5887 #874E58 #58874E
tetradic
#4E5887 #874E75 #877D4E #4E8761
square
#4E5887 #874E75 #877D4E #4E8761
split-complementary
#4E5887 #87614E #75874E
monochromatic
#212539 #383F60 #4E5887 #6A75A9 #9099BF
Accessibility & contrast
On white
6.84
#4E5887 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#4E5887 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5887
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5887 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5887 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#485D89
Deuteranopia (green-blind)
#435886
Tritanopia (blue-blind)
#3C6169
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4e5887; /* rgb */ color: rgb(78, 88, 135); /* oklch */ color: oklch(47.3% 0.077 273.9);
Tailwind
colors: {
custom: {
50: '#8287aa',
500: '#4e5887',
950: '#000000',
},
}SCSS
$custom: #4e5887; $custom-light: #8287aa; $custom-dark: #000000;
JSON
{
"hex": "#4e5887",
"rgb": {
"r": 78,
"g": 88,
"b": 135
},
"hsl": {
"h": 229.474,
"s": 26.761,
"l": 41.765
},
"oklch": {
"l": 0.47273,
"c": 0.07718,
"h": 273.9
},
"luminance": 0.10348
}Semantic roles & 50–950 ramp
primary
#4E5887
secondary
#ACA585
accent
#B365C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F