#4E508A#4E508A
#4E508A is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.7% C 0.094 H 280.5°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4E508A |
|---|---|
| RGB | rgb(78, 80, 138) |
| HSL | hsl(238, 28%, 42%) |
| HSV | hsv(238, 43%, 54%) |
| CMYK | cmyk(43.5%, 42%, 0%, 45.9%) |
| CIE-LAB | lab(36.35, 15.00, -32.62) |
| CIE-LCH | lch(36.35, 35.91, 294.69°) |
| OKLab | oklab(45.7% 0.0171 -0.092) |
| OKLCH | oklch(45.7% 0.094 280.5) |
| XYZ | xyz(10.5966, 9.1915, 25.2556) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 0.39
Dusk
#4E5481
ΔE00 2.92
Blueberry
#464196
ΔE00 6.11
Darkslateblue
#483D8B
ΔE00 6.52
Dusky Blue
#475F94
ΔE00 6.81
Denim Blue
#3B5B92
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E508A #8A884E
analogous
#4E6E8A #4E508A #6A4E8A
triadic
#4E508A #8A4E50 #508A4E
tetradic
#4E508A #8A4E6E #8A884E #4E8A6A
square
#4E508A #8A4E6E #8A884E #4E8A6A
split-complementary
#4E508A #8A6A4E #6E8A4E
monochromatic
#22233C #383963 #4E508A #6A6CAB #9193C1
Accessibility & contrast
On white
7.40
#4E508A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#4E508A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E508A
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E508A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E508A | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B588C
Deuteranopia (green-blind)
#385389
Tritanopia (blue-blind)
#3B5C66
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #4e508a; /* rgb */ color: rgb(78, 80, 138); /* oklch */ color: oklch(45.7% 0.094 280.5);
Tailwind
colors: {
custom: {
50: '#8381ac',
500: '#4e508a',
950: '#000000',
},
}SCSS
$custom: #4e508a; $custom-light: #8381ac; $custom-dark: #000000;
JSON
{
"hex": "#4e508a",
"rgb": {
"r": 78,
"g": 80,
"b": 138
},
"hsl": {
"h": 238,
"s": 27.778,
"l": 42.353
},
"oklch": {
"l": 0.45704,
"c": 0.09356,
"h": 280.5
},
"luminance": 0.09192
}Semantic roles & 50–950 ramp
primary
#4E508A
secondary
#AEAC86
accent
#C164C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F