#4E457F#4E457F
#4E457F is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.7% C 0.094 H 288.9°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #4E457F |
|---|---|
| RGB | rgb(78, 69, 127) |
| HSL | hsl(249, 30%, 38%) |
| HSV | hsv(249, 46%, 50%) |
| CMYK | cmyk(38.6%, 45.7%, 0%, 50.2%) |
| CIE-LAB | lab(32.72, 18.74, -31.60) |
| CIE-LCH | lch(32.72, 36.74, 300.67°) |
| OKLab | oklab(42.74% 0.0305 -0.089) |
| OKLCH | oklch(42.74% 0.094 288.9) |
| XYZ | xyz(9.0997, 7.4080, 21.0250) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.43
Twilight
#4E518B
ΔE00 4.61
Blueberry
#464196
ΔE00 5.66
Dusk
#4E5481
ΔE00 5.85
Rebeccapurple
#663399
ΔE00 9.52
Ocean Blue
#4F42B5
ΔE00 9.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E457F #767F45
analogous
#45597F #4E457F #6B457F
triadic
#4E457F #7F4E45 #457F4E
tetradic
#4E457F #7F4559 #767F45 #457F6B
square
#4E457F #7F4559 #767F45 #457F6B
split-complementary
#4E457F #7F6B45 #597F45
monochromatic
#1D1A30 #362F57 #4E457F #675BA6 #8C83BC
Accessibility & contrast
On white
8.46
#4E457F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#4E457F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E457F
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E457F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E457F | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314E81
Deuteranopia (green-blind)
#314C7E
Tritanopia (blue-blind)
#41505C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #4e457f; /* rgb */ color: rgb(78, 69, 127); /* oklch */ color: oklch(42.7% 0.094 288.9);
Tailwind
colors: {
custom: {
50: '#8278a4',
500: '#4e457f',
950: '#000000',
},
}SCSS
$custom: #4e457f; $custom-light: #8278a4; $custom-dark: #000000;
JSON
{
"hex": "#4e457f",
"rgb": {
"r": 78,
"g": 69,
"b": 127
},
"hsl": {
"h": 249.31,
"s": 29.592,
"l": 38.431
},
"oklch": {
"l": 0.42742,
"c": 0.09412,
"h": 288.9
},
"luminance": 0.07408
}Semantic roles & 50–950 ramp
primary
#4E457F
secondary
#A0A779
accent
#C662B6
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F