#4E5787#4E5787
#4E5787 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.1% C 0.079 H 274.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5787 |
|---|---|
| RGB | rgb(78, 87, 135) |
| HSL | hsl(231, 27%, 42%) |
| HSV | hsv(231, 42%, 53%) |
| CMYK | cmyk(42.2%, 35.6%, 0%, 47.1%) |
| CIE-LAB | lab(38.17, 9.58, -27.93) |
| CIE-LCH | lch(38.17, 29.52, 288.94°) |
| OKLab | oklab(47.05% 0.0067 -0.0783) |
| OKLCH | oklch(47.05% 0.079 274.9) |
| XYZ | xyz(10.9219, 10.1849, 24.3074) |
| Luminance | 0.1018 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 1.57
Twilight
#4E518B
ΔE00 2.72
Dusky Blue
#475F94
ΔE00 4.80
Denim Blue
#3B5B92
ΔE00 5.98
Dusk Blue
#26538D
ΔE00 8.21
Light Navy Blue
#2E5A88
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5787 #877E4E
analogous
#4E7487 #4E5787 #624E87
triadic
#4E5787 #874E57 #57874E
tetradic
#4E5787 #874E74 #877E4E #4E8762
square
#4E5787 #874E74 #877E4E #4E8762
split-complementary
#4E5787 #87624E #74874E
monochromatic
#212539 #383E60 #4E5787 #6A74A9 #9098BF
Accessibility & contrast
On white
6.91
#4E5787 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#4E5787 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5787
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5787 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5787 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475C89
Deuteranopia (green-blind)
#425886
Tritanopia (blue-blind)
#3C6169
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4e5787; /* rgb */ color: rgb(78, 87, 135); /* oklch */ color: oklch(47.1% 0.079 274.9);
Tailwind
colors: {
custom: {
50: '#8286aa',
500: '#4e5787',
950: '#000000',
},
}SCSS
$custom: #4e5787; $custom-light: #8286aa; $custom-dark: #000000;
JSON
{
"hex": "#4e5787",
"rgb": {
"r": 78,
"g": 87,
"b": 135
},
"hsl": {
"h": 230.526,
"s": 26.761,
"l": 41.765
},
"oklch": {
"l": 0.47051,
"c": 0.07859,
"h": 274.9
},
"luminance": 0.10185
}Semantic roles & 50–950 ramp
primary
#4E5787
secondary
#ACA685
accent
#B465C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F