#4E517D#4E517D
#4E517D is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.2% C 0.072 H 280.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #4E517D |
|---|---|
| RGB | rgb(78, 81, 125) |
| HSL | hsl(236, 23%, 40%) |
| HSV | hsv(236, 38%, 49%) |
| CMYK | cmyk(37.6%, 35.2%, 0%, 51%) |
| CIE-LAB | lab(35.96, 10.39, -25.27) |
| CIE-LCH | lch(35.96, 27.32, 292.36°) |
| OKLab | oklab(45.18% 0.0126 -0.0706) |
| OKLCH | oklch(45.18% 0.072 280.1) |
| XYZ | xyz(9.7849, 8.9849, 20.6168) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 1.34
Twilight
#4E518B
ΔE00 3.25
Dusky Blue
#475F94
ΔE00 7.63
Denim Blue
#3B5B92
ΔE00 8.48
Darkslateblue
#483D8B
ΔE00 8.50
Blueberry
#464196
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E517D #7D7A4E
analogous
#4E697D #4E517D #624E7D
triadic
#4E517D #7D4E51 #517D4E
tetradic
#4E517D #7D4E69 #7D7A4E #4E7D62
square
#4E517D #7D4E69 #7D7A4E #4E7D62
split-complementary
#4E517D #7D624E #697D4E
monochromatic
#1F2032 #363957 #4E517D #686BA1 #8D90B8
Accessibility & contrast
On white
7.51
#4E517D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#4E517D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E517D
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E517D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E517D | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43567F
Deuteranopia (green-blind)
#40537C
Tritanopia (blue-blind)
#415961
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #4e517d; /* rgb */ color: rgb(78, 81, 125); /* oklch */ color: oklch(45.2% 0.072 280.1);
Tailwind
colors: {
custom: {
50: '#8181a3',
500: '#4e517d',
950: '#000000',
},
}SCSS
$custom: #4e517d; $custom-light: #8181a3; $custom-dark: #000000;
JSON
{
"hex": "#4e517d",
"rgb": {
"r": 78,
"g": 81,
"b": 125
},
"hsl": {
"h": 236.17,
"s": 23.153,
"l": 39.804
},
"oklch": {
"l": 0.45179,
"c": 0.07174,
"h": 280.1
},
"luminance": 0.08985
}Semantic roles & 50–950 ramp
primary
#4E517D
secondary
#A5A382
accent
#BA68C0
background
#F8F7FA
surface
#EFEEF3
border
#CAC9CD
text
#0A0A0F
muted
#7C7C7F