#4E518D#4E518D
#4E518D is a mid, moderate blue. Relative luminance 0.094; OKLCH L 46.1% C 0.097 H 279.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4E518D |
|---|---|
| RGB | rgb(78, 81, 141) |
| HSL | hsl(237, 29%, 43%) |
| HSV | hsv(237, 45%, 55%) |
| CMYK | cmyk(44.7%, 42.6%, 0%, 44.7%) |
| CIE-LAB | lab(36.79, 15.29, -33.75) |
| CIE-LCH | lch(36.79, 37.05, 294.37°) |
| OKLab | oklab(46.1% 0.0163 -0.0953) |
| OKLCH | oklch(46.1% 0.097 279.7) |
| XYZ | xyz(10.8906, 9.4271, 26.4399) |
| Luminance | 0.0943 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 0.42
Dusk
#4E5481
ΔE00 3.19
Blueberry
#464196
ΔE00 6.04
Dusky Blue
#475F94
ΔE00 6.34
Darkslateblue
#483D8B
ΔE00 6.67
Denim Blue
#3B5B92
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E518D #8D8A4E
analogous
#4E708D #4E518D #6A4E8D
triadic
#4E518D #8D4E51 #518D4E
tetradic
#4E518D #8D4E70 #8D8A4E #4E8D6A
square
#4E518D #8D4E70 #8D8A4E #4E8D6A
split-complementary
#4E518D #8D6A4E #708D4E
monochromatic
#22243E #383A66 #4E518D #6B6EAD #9295C3
Accessibility & contrast
On white
7.28
#4E518D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#4E518D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E518D
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E518D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E518D | 1.00 | 7.28 | 2.89 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B598F
Deuteranopia (green-blind)
#37548C
Tritanopia (blue-blind)
#3A5D68
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #4e518d; /* rgb */ color: rgb(78, 81, 141); /* oklch */ color: oklch(46.1% 0.097 279.7);
Tailwind
colors: {
custom: {
50: '#8381ae',
500: '#4e518d',
950: '#000000',
},
}SCSS
$custom: #4e518d; $custom-light: #8381ae; $custom-dark: #000000;
JSON
{
"hex": "#4e518d",
"rgb": {
"r": 78,
"g": 81,
"b": 141
},
"hsl": {
"h": 237.143,
"s": 28.767,
"l": 42.941
},
"oklch": {
"l": 0.46097,
"c": 0.09667,
"h": 279.7
},
"luminance": 0.09428
}Semantic roles & 50–950 ramp
primary
#4E518D
secondary
#AFAE87
accent
#C063C5
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F