#4E5178#4E5178
#4E5178 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.9% C 0.064 H 280.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5178 |
|---|---|
| RGB | rgb(78, 81, 120) |
| HSL | hsl(236, 21%, 39%) |
| HSV | hsv(236, 35%, 47%) |
| CMYK | cmyk(35%, 32.5%, 0%, 52.9%) |
| CIE-LAB | lab(35.71, 8.92, -22.55) |
| CIE-LCH | lch(35.71, 24.25, 291.58°) |
| OKLab | oklab(44.91% 0.0112 -0.0628) |
| OKLCH | oklch(44.91% 0.064 280.1) |
| XYZ | xyz(9.4735, 8.8603, 18.9767) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 2.21
Twilight
#4E518B
ΔE00 4.58
Dusky Blue
#475F94
ΔE00 8.28
Denim Blue
#3B5B92
ΔE00 9.13
Darkslateblue
#483D8B
ΔE00 9.41
Blueberry
#464196
ΔE00 9.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5178 #78754E
analogous
#4E6678 #4E5178 #604E78
triadic
#4E5178 #784E51 #51784E
tetradic
#4E5178 #784E66 #78754E #4E7860
square
#4E5178 #784E66 #78754E #4E7860
split-complementary
#4E5178 #78604E #66784E
monochromatic
#1E1F2E #363853 #4E5178 #676B9C #8C8FB4
Accessibility & contrast
On white
7.58
#4E5178 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#4E5178 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E5178
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5178 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5178 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45567A
Deuteranopia (green-blind)
#435377
Tritanopia (blue-blind)
#43585F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #4e5178; /* rgb */ color: rgb(78, 81, 120); /* oklch */ color: oklch(44.9% 0.064 280.1);
Tailwind
colors: {
custom: {
50: '#81819f',
500: '#4e5178',
950: '#000000',
},
}SCSS
$custom: #4e5178; $custom-light: #81819f; $custom-dark: #000000;
JSON
{
"hex": "#4e5178",
"rgb": {
"r": 78,
"g": 81,
"b": 120
},
"hsl": {
"h": 235.714,
"s": 21.212,
"l": 38.824
},
"oklch": {
"l": 0.44914,
"c": 0.06378,
"h": 280.1
},
"luminance": 0.08861
}Semantic roles & 50–950 ramp
primary
#4E5178
secondary
#A19F81
accent
#B86ABE
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A0A0E
muted
#7C7C7E