#4E5789#4E5789
#4E5789 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.2% C 0.082 H 275.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5789 |
|---|---|
| RGB | rgb(78, 87, 137) |
| HSL | hsl(231, 27%, 42%) |
| HSV | hsv(231, 43%, 54%) |
| CMYK | cmyk(43.1%, 36.5%, 0%, 46.3%) |
| CIE-LAB | lab(38.27, 10.20, -28.99) |
| CIE-LCH | lch(38.27, 30.73, 289.39°) |
| OKLab | oklab(47.16% 0.0072 -0.0814) |
| OKLCH | oklch(47.16% 0.082 275.1) |
| XYZ | xyz(11.0641, 10.2417, 25.0559) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 1.88
Twilight
#4E518B
ΔE00 2.50
Dusky Blue
#475F94
ΔE00 4.63
Denim Blue
#3B5B92
ΔE00 5.82
Dusk Blue
#26538D
ΔE00 8.10
Blueberry
#464196
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5789 #89804E
analogous
#4E7589 #4E5789 #624E89
triadic
#4E5789 #894E57 #57894E
tetradic
#4E5789 #894E75 #89804E #4E8962
square
#4E5789 #894E75 #89804E #4E8962
split-complementary
#4E5789 #89624E #75894E
monochromatic
#22253B #383E62 #4E5789 #6A74AA #9198C0
Accessibility & contrast
On white
6.89
#4E5789 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#4E5789 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5789
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5789 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5789 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#465D8B
Deuteranopia (green-blind)
#415888
Tritanopia (blue-blind)
#3B6169
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4e5789; /* rgb */ color: rgb(78, 87, 137); /* oklch */ color: oklch(47.2% 0.082 275.1);
Tailwind
colors: {
custom: {
50: '#8286ab',
500: '#4e5789',
950: '#000000',
},
}SCSS
$custom: #4e5789; $custom-light: #8286ab; $custom-dark: #000000;
JSON
{
"hex": "#4e5789",
"rgb": {
"r": 78,
"g": 87,
"b": 137
},
"hsl": {
"h": 230.847,
"s": 27.442,
"l": 42.157
},
"oklch": {
"l": 0.47162,
"c": 0.0817,
"h": 275.1
},
"luminance": 0.10242
}Semantic roles & 50–950 ramp
primary
#4E5789
secondary
#ADA786
accent
#B564C4
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F