#4E4878#4E4878
#4E4878 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 43.0% C 0.078 H 288.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4878 |
|---|---|
| RGB | rgb(78, 72, 120) |
| HSL | hsl(248, 25%, 38%) |
| HSV | hsv(248, 40%, 47%) |
| CMYK | cmyk(35%, 40%, 0%, 52.9%) |
| CIE-LAB | lab(33.16, 14.72, -26.55) |
| CIE-LCH | lch(33.16, 30.36, 299.01°) |
| OKLab | oklab(42.95% 0.0247 -0.0743) |
| OKLCH | oklch(42.95% 0.078 288.4) |
| XYZ | xyz(8.8485, 7.6103, 18.7684) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 4.80
Twilight
#4E518B
ΔE00 4.82
Darkslateblue
#483D8B
ΔE00 6.74
Blueberry
#464196
ΔE00 7.82
Dusky Blue
#475F94
ΔE00 10.79
Cobalt (survey)
#1E488F
ΔE00 11.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4878 #727848
analogous
#485A78 #4E4878 #664878
triadic
#4E4878 #784E48 #48784E
tetradic
#4E4878 #78485A #727848 #487866
square
#4E4878 #78485A #727848 #487866
split-complementary
#4E4878 #786648 #5A7848
monochromatic
#1C1A2B #353152 #4E4878 #675F9E #8B85B6
Accessibility & contrast
On white
8.33
#4E4878 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#4E4878 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4878
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4878 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4878 | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394F7A
Deuteranopia (green-blind)
#394D77
Tritanopia (blue-blind)
#44515A
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #4e4878; /* rgb */ color: rgb(78, 72, 120); /* oklch */ color: oklch(43.0% 0.078 288.4);
Tailwind
colors: {
custom: {
50: '#817b9f',
500: '#4e4878',
950: '#000000',
},
}SCSS
$custom: #4e4878; $custom-light: #817b9f; $custom-dark: #000000;
JSON
{
"hex": "#4e4878",
"rgb": {
"r": 78,
"g": 72,
"b": 120
},
"hsl": {
"h": 247.5,
"s": 25,
"l": 37.647
},
"oklch": {
"l": 0.42951,
"c": 0.07833,
"h": 288.4
},
"luminance": 0.0761
}Semantic roles & 50–950 ramp
primary
#4E4878
secondary
#9DA27A
accent
#C166B6
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A090E
muted
#7C7B7E