#4E4876#4E4876
#4E4876 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.8% C 0.075 H 288.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4876 |
|---|---|
| RGB | rgb(78, 72, 118) |
| HSL | hsl(248, 24%, 37%) |
| HSV | hsv(248, 39%, 46%) |
| CMYK | cmyk(33.9%, 39%, 0%, 53.7%) |
| CIE-LAB | lab(33.05, 14.14, -25.47) |
| CIE-LCH | lch(33.05, 29.13, 299.04°) |
| OKLab | oklab(42.84% 0.0242 -0.0712) |
| OKLCH | oklch(42.84% 0.075 288.8) |
| XYZ | xyz(8.7284, 7.5622, 18.1358) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 4.91
Twilight
#4E518B
ΔE00 5.21
Darkslateblue
#483D8B
ΔE00 7.22
Blueberry
#464196
ΔE00 8.33
Dusky Blue
#475F94
ΔE00 11.02
Cobalt (survey)
#1E488F
ΔE00 11.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4876 #707648
analogous
#485976 #4E4876 #654876
triadic
#4E4876 #764E48 #48764E
tetradic
#4E4876 #764859 #707648 #487665
square
#4E4876 #764859 #707648 #487665
split-complementary
#4E4876 #766548 #597648
monochromatic
#1C1A2A #353150 #4E4876 #675F9C #8B84B4
Accessibility & contrast
On white
8.36
#4E4876 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#4E4876 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4876
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4876 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4876 | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4F78
Deuteranopia (green-blind)
#3A4D75
Tritanopia (blue-blind)
#445059
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #4e4876; /* rgb */ color: rgb(78, 72, 118); /* oklch */ color: oklch(42.8% 0.075 288.8);
Tailwind
colors: {
custom: {
50: '#817b9d',
500: '#4e4876',
950: '#000000',
},
}SCSS
$custom: #4e4876; $custom-light: #817b9d; $custom-dark: #000000;
JSON
{
"hex": "#4e4876",
"rgb": {
"r": 78,
"g": 72,
"b": 118
},
"hsl": {
"h": 247.826,
"s": 24.211,
"l": 37.255
},
"oklch": {
"l": 0.42838,
"c": 0.0752,
"h": 288.8
},
"luminance": 0.07562
}Semantic roles & 50–950 ramp
primary
#4E4876
secondary
#9BA07A
accent
#C167B5
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E