#4E508D#4E508D
#4E508D is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.9% C 0.098 H 280.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #4E508D |
|---|---|
| RGB | rgb(78, 80, 141) |
| HSL | hsl(238, 29%, 43%) |
| HSV | hsv(238, 45%, 55%) |
| CMYK | cmyk(44.7%, 43.3%, 0%, 44.7%) |
| CIE-LAB | lab(36.52, 15.93, -34.19) |
| CIE-LCH | lch(36.52, 37.72, 294.99°) |
| OKLab | oklab(45.89% 0.0177 -0.0966) |
| OKLCH | oklch(45.89% 0.098 280.4) |
| XYZ | xyz(10.8168, 9.2796, 26.4153) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 0.63
Dusk
#4E5481
ΔE00 3.44
Blueberry
#464196
ΔE00 5.72
Darkslateblue
#483D8B
ΔE00 6.31
Dusky Blue
#475F94
ΔE00 6.67
Denim Blue
#3B5B92
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E508D #8D8B4E
analogous
#4E6F8D #4E508D #6B4E8D
triadic
#4E508D #8D4E50 #508D4E
tetradic
#4E508D #8D4E6F #8D8B4E #4E8D6B
square
#4E508D #8D4E6F #8D8B4E #4E8D6B
split-complementary
#4E508D #8D6B4E #6F8D4E
monochromatic
#22233E #383A66 #4E508D #6B6DAD #9294C3
Accessibility & contrast
On white
7.35
#4E508D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#4E508D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E508D
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E508D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E508D | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39588F
Deuteranopia (green-blind)
#36548C
Tritanopia (blue-blind)
#3A5C67
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #4e508d; /* rgb */ color: rgb(78, 80, 141); /* oklch */ color: oklch(45.9% 0.098 280.4);
Tailwind
colors: {
custom: {
50: '#8381ae',
500: '#4e508d',
950: '#000000',
},
}SCSS
$custom: #4e508d; $custom-light: #8381ae; $custom-dark: #000000;
JSON
{
"hex": "#4e508d",
"rgb": {
"r": 78,
"g": 80,
"b": 141
},
"hsl": {
"h": 238.095,
"s": 28.767,
"l": 42.941
},
"oklch": {
"l": 0.45886,
"c": 0.09816,
"h": 280.4
},
"luminance": 0.0928
}Semantic roles & 50–950 ramp
primary
#4E508D
secondary
#AFAE87
accent
#C263C5
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F