#4E509E#4E509E
#4E509E is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.124 H 279.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #4E509E |
|---|---|
| RGB | rgb(78, 80, 158) |
| HSL | hsl(239, 34%, 46%) |
| HSV | hsv(239, 51%, 62%) |
| CMYK | cmyk(50.6%, 49.4%, 0%, 38%) |
| CIE-LAB | lab(37.53, 21.36, -42.86) |
| CIE-LCH | lch(37.53, 47.89, 296.50°) |
| OKLab | oklab(46.98% 0.0202 -0.122) |
| OKLCH | oklch(46.98% 0.124 279.4) |
| XYZ | xyz(12.1802, 9.8250, 33.5957) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.75
Blueberry
#464196
ΔE00 4.71
Ocean Blue
#4F42B5
ΔE00 6.15
Dusk
#4E5481
ΔE00 6.29
Darkslateblue
#483D8B
ΔE00 6.33
Dusky Blue
#475F94
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E509E #9E9C4E
analogous
#4E789E #4E509E #744E9E
triadic
#4E509E #9E4E50 #509E4E
tetradic
#4E509E #9E4E78 #9E9C4E #4E9E74
square
#4E509E #9E4E78 #9E9C4E #4E9E74
split-complementary
#4E509E #9E744E #789E4E
monochromatic
#26274C #3A3B75 #4E509E #7172B9 #9A9BCD
Accessibility & contrast
On white
7.08
#4E509E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#4E509E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E509E
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E509E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E509E | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D5BA1
Deuteranopia (green-blind)
#26559C
Tritanopia (blue-blind)
#2F616F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4e509e; /* rgb */ color: rgb(78, 80, 158); /* oklch */ color: oklch(47.0% 0.124 279.4);
Tailwind
colors: {
custom: {
50: '#8581bb',
500: '#4e509e',
950: '#000000',
},
}SCSS
$custom: #4e509e; $custom-light: #8581bb; $custom-dark: #000000;
JSON
{
"hex": "#4e509e",
"rgb": {
"r": 78,
"g": 80,
"b": 158
},
"hsl": {
"h": 238.5,
"s": 33.898,
"l": 46.275
},
"oklch": {
"l": 0.46978,
"c": 0.12363,
"h": 279.4
},
"luminance": 0.09826
}Semantic roles & 50–950 ramp
primary
#4E509E
secondary
#BAB88E
accent
#C75ECA
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81