#4E4386#4E4386
#4E4386 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.8% C 0.108 H 288.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4386 |
|---|---|
| RGB | rgb(78, 67, 134) |
| HSL | hsl(250, 33%, 39%) |
| HSV | hsv(250, 50%, 53%) |
| CMYK | cmyk(41.8%, 50%, 0%, 47.5%) |
| CIE-LAB | lab(32.60, 22.15, -36.12) |
| CIE-LCH | lch(32.60, 42.37, 301.52°) |
| OKLab | oklab(42.79% 0.0343 -0.1023) |
| OKLCH | oklch(42.79% 0.108 288.5) |
| XYZ | xyz(9.4509, 7.3549, 23.4713) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.67
Blueberry
#464196
ΔE00 3.94
Twilight
#4E518B
ΔE00 5.01
Dusk
#4E5481
ΔE00 6.90
Rebeccapurple
#663399
ΔE00 8.14
Ocean Blue
#4F42B5
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4386 #7B8643
analogous
#435A86 #4E4386 #704386
triadic
#4E4386 #864E43 #43864E
tetradic
#4E4386 #86435A #7B8643 #438670
square
#4E4386 #86435A #7B8643 #438670
split-complementary
#4E4386 #867043 #5A8643
monochromatic
#1F1A34 #362F5D #4E4386 #675AAC #8D83C1
Accessibility & contrast
On white
8.50
#4E4386 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#4E4386 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4386
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4386 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4386 | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294E88
Deuteranopia (green-blind)
#294B84
Tritanopia (blue-blind)
#3E515E
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #4e4386; /* rgb */ color: rgb(78, 67, 134); /* oklch */ color: oklch(42.8% 0.108 288.5);
Tailwind
colors: {
custom: {
50: '#8377aa',
500: '#4e4386',
950: '#000000',
},
}SCSS
$custom: #4e4386; $custom-light: #8377aa; $custom-dark: #000000;
JSON
{
"hex": "#4e4386",
"rgb": {
"r": 78,
"g": 67,
"b": 134
},
"hsl": {
"h": 249.851,
"s": 33.333,
"l": 39.412
},
"oklch": {
"l": 0.42789,
"c": 0.10786,
"h": 288.5
},
"luminance": 0.07355
}Semantic roles & 50–950 ramp
primary
#4E4386
secondary
#A3AC79
accent
#C95EB8
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F