#4E4776#4E4776
#4E4776 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.6% C 0.077 H 289.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4776 |
|---|---|
| RGB | rgb(78, 71, 118) |
| HSL | hsl(249, 25%, 37%) |
| HSV | hsv(249, 40%, 46%) |
| CMYK | cmyk(33.9%, 39.8%, 0%, 53.7%) |
| CIE-LAB | lab(32.78, 14.79, -25.90) |
| CIE-LCH | lch(32.78, 29.83, 299.72°) |
| OKLab | oklab(42.63% 0.0257 -0.0724) |
| OKLCH | oklch(42.63% 0.077 289.6) |
| XYZ | xyz(8.6643, 7.4340, 18.1144) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 5.25
Twilight
#4E518B
ΔE00 5.36
Darkslateblue
#483D8B
ΔE00 6.95
Blueberry
#464196
ΔE00 8.16
Dusky Blue
#475F94
ΔE00 11.30
Rebeccapurple
#663399
ΔE00 11.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4776 #6F7647
analogous
#475876 #4E4776 #664776
triadic
#4E4776 #764E47 #47764E
tetradic
#4E4776 #764758 #6F7647 #477666
square
#4E4776 #764758 #6F7647 #477666
split-complementary
#4E4776 #766647 #587647
monochromatic
#1B192A #353050 #4E4776 #675E9C #8A83B4
Accessibility & contrast
On white
8.44
#4E4776 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#4E4776 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4776
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4776 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4776 | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394E78
Deuteranopia (green-blind)
#394C75
Tritanopia (blue-blind)
#445059
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #4e4776; /* rgb */ color: rgb(78, 71, 118); /* oklch */ color: oklch(42.6% 0.077 289.6);
Tailwind
colors: {
custom: {
50: '#817a9d',
500: '#4e4776',
950: '#000000',
},
}SCSS
$custom: #4e4776; $custom-light: #817a9d; $custom-dark: #000000;
JSON
{
"hex": "#4e4776",
"rgb": {
"r": 78,
"g": 71,
"b": 118
},
"hsl": {
"h": 248.936,
"s": 24.868,
"l": 37.059
},
"oklch": {
"l": 0.42625,
"c": 0.07688,
"h": 289.6
},
"luminance": 0.07434
}Semantic roles & 50–950 ramp
primary
#4E4776
secondary
#9AA078
accent
#C167B4
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A090E
muted
#7C7B7E