#4E4786#4E4786
#4E4786 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.6% C 0.101 H 286.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4786 |
|---|---|
| RGB | rgb(78, 71, 134) |
| HSL | hsl(247, 31%, 40%) |
| HSV | hsv(247, 47%, 53%) |
| CMYK | cmyk(41.8%, 47%, 0%, 47.5%) |
| CIE-LAB | lab(33.66, 19.57, -34.43) |
| CIE-LCH | lch(33.66, 39.61, 299.61°) |
| OKLab | oklab(43.59% 0.0288 -0.0973) |
| OKLCH | oklch(43.59% 0.101 286.5) |
| XYZ | xyz(9.6970, 7.8471, 23.5533) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.63
Darkslateblue
#483D8B
ΔE00 3.82
Blueberry
#464196
ΔE00 4.48
Dusk
#4E5481
ΔE00 5.50
Ocean Blue
#4F42B5
ΔE00 8.57
Rebeccapurple
#663399
ΔE00 9.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4786 #7F8647
analogous
#475F86 #4E4786 #6E4786
triadic
#4E4786 #864E47 #47864E
tetradic
#4E4786 #86475F #7F8647 #47866E
square
#4E4786 #86475F #7F8647 #47866E
split-complementary
#4E4786 #866E47 #5F8647
monochromatic
#1F1D36 #37325E #4E4786 #6860AB #8E88C0
Accessibility & contrast
On white
8.17
#4E4786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#4E4786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4786
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4786 | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305188
Deuteranopia (green-blind)
#2E4D85
Tritanopia (blue-blind)
#3E5460
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #4e4786; /* rgb */ color: rgb(78, 71, 134); /* oklch */ color: oklch(43.6% 0.101 286.5);
Tailwind
colors: {
custom: {
50: '#837aa9',
500: '#4e4786',
950: '#000000',
},
}SCSS
$custom: #4e4786; $custom-light: #837aa9; $custom-dark: #000000;
JSON
{
"hex": "#4e4786",
"rgb": {
"r": 78,
"g": 71,
"b": 134
},
"hsl": {
"h": 246.667,
"s": 30.732,
"l": 40.196
},
"oklch": {
"l": 0.43588,
"c": 0.10147,
"h": 286.5
},
"luminance": 0.07847
}Semantic roles & 50–950 ramp
primary
#4E4786
secondary
#A6AB7D
accent
#C761BC
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F