#4E518A#4E518A
#4E518A is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.9% C 0.092 H 279.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #4E518A |
|---|---|
| RGB | rgb(78, 81, 138) |
| HSL | hsl(237, 28%, 42%) |
| HSV | hsv(237, 43%, 54%) |
| CMYK | cmyk(43.5%, 41.3%, 0%, 45.9%) |
| CIE-LAB | lab(36.63, 14.35, -32.18) |
| CIE-LCH | lch(36.63, 35.24, 294.04°) |
| OKLab | oklab(45.92% 0.0157 -0.0907) |
| OKLCH | oklch(45.92% 0.092 279.8) |
| XYZ | xyz(10.6704, 9.3391, 25.2802) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 0.21
Dusk
#4E5481
ΔE00 2.65
Blueberry
#464196
ΔE00 6.42
Dusky Blue
#475F94
ΔE00 6.48
Darkslateblue
#483D8B
ΔE00 6.88
Denim Blue
#3B5B92
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E518A #8A874E
analogous
#4E6F8A #4E518A #694E8A
triadic
#4E518A #8A4E51 #518A4E
tetradic
#4E518A #8A4E6F #8A874E #4E8A69
square
#4E518A #8A4E6F #8A874E #4E8A69
split-complementary
#4E518A #8A694E #6F8A4E
monochromatic
#22233C #383A63 #4E518A #6A6DAB #9194C1
Accessibility & contrast
On white
7.32
#4E518A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#4E518A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E518A
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E518A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E518A | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D588C
Deuteranopia (green-blind)
#395489
Tritanopia (blue-blind)
#3B5C67
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #4e518a; /* rgb */ color: rgb(78, 81, 138); /* oklch */ color: oklch(45.9% 0.092 279.8);
Tailwind
colors: {
custom: {
50: '#8381ac',
500: '#4e518a',
950: '#000000',
},
}SCSS
$custom: #4e518a; $custom-light: #8381ac; $custom-dark: #000000;
JSON
{
"hex": "#4e518a",
"rgb": {
"r": 78,
"g": 81,
"b": 138
},
"hsl": {
"h": 237,
"s": 27.778,
"l": 42.353
},
"oklch": {
"l": 0.45917,
"c": 0.09205,
"h": 279.8
},
"luminance": 0.0934
}Semantic roles & 50–950 ramp
primary
#4E518A
secondary
#AEAC86
accent
#BF64C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F