#4E5786#4E5786
#4E5786 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.0% C 0.077 H 274.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5786 |
|---|---|
| RGB | rgb(78, 87, 134) |
| HSL | hsl(230, 26%, 42%) |
| HSV | hsv(230, 42%, 53%) |
| CMYK | cmyk(41.8%, 35.1%, 0%, 47.5%) |
| CIE-LAB | lab(38.12, 9.28, -27.39) |
| CIE-LCH | lch(38.12, 28.92, 288.71°) |
| OKLab | oklab(47% 0.0064 -0.0768) |
| OKLCH | oklch(47% 0.077 274.8) |
| XYZ | xyz(10.8519, 10.1568, 23.9383) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 1.44
Twilight
#4E518B
ΔE00 2.85
Dusky Blue
#475F94
ΔE00 4.89
Denim Blue
#3B5B92
ΔE00 6.06
Dusk Blue
#26538D
ΔE00 8.28
Light Navy Blue
#2E5A88
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5786 #867D4E
analogous
#4E7386 #4E5786 #614E86
triadic
#4E5786 #864E57 #57864E
tetradic
#4E5786 #864E73 #867D4E #4E8661
square
#4E5786 #864E73 #867D4E #4E8661
split-complementary
#4E5786 #86614E #73864E
monochromatic
#212539 #373E5F #4E5786 #6973A8 #9097BE
Accessibility & contrast
On white
6.93
#4E5786 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#4E5786 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5786
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5786 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475C88
Deuteranopia (green-blind)
#435885
Tritanopia (blue-blind)
#3C6068
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4e5786; /* rgb */ color: rgb(78, 87, 134); /* oklch */ color: oklch(47.0% 0.077 274.8);
Tailwind
colors: {
custom: {
50: '#8286a9',
500: '#4e5786',
950: '#000000',
},
}SCSS
$custom: #4e5786; $custom-light: #8286a9; $custom-dark: #000000;
JSON
{
"hex": "#4e5786",
"rgb": {
"r": 78,
"g": 87,
"b": 134
},
"hsl": {
"h": 230.357,
"s": 26.415,
"l": 41.569
},
"oklch": {
"l": 0.46996,
"c": 0.07703,
"h": 274.8
},
"luminance": 0.10157
}Semantic roles & 50–950 ramp
primary
#4E5786
secondary
#ABA585
accent
#B465C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F