#4E509F#4E509F
#4E509F is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.0% C 0.125 H 279.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #4E509F |
|---|---|
| RGB | rgb(78, 80, 159) |
| HSL | hsl(239, 34%, 46%) |
| HSV | hsv(239, 51%, 62%) |
| CMYK | cmyk(50.9%, 49.7%, 0%, 37.6%) |
| CIE-LAB | lab(37.59, 21.69, -43.36) |
| CIE-LCH | lch(37.59, 48.48, 296.58°) |
| OKLab | oklab(47.05% 0.0203 -0.1234) |
| OKLCH | oklch(47.05% 0.125 279.3) |
| XYZ | xyz(12.2666, 9.8595, 34.0509) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.93
Blueberry
#464196
ΔE00 4.72
Ocean Blue
#4F42B5
ΔE00 6.03
Darkslateblue
#483D8B
ΔE00 6.39
Dusk
#4E5481
ΔE00 6.45
Dusky Blue
#475F94
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E509F #9F9D4E
analogous
#4E799F #4E509F #754E9F
triadic
#4E509F #9F4E50 #509F4E
tetradic
#4E509F #9F4E79 #9F9D4E #4E9F75
square
#4E509F #9F4E79 #9F9D4E #4E9F75
split-complementary
#4E509F #9F754E #799F4E
monochromatic
#26274D #3A3B76 #4E509F #7173B9 #9A9BCD
Accessibility & contrast
On white
7.07
#4E509F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#4E509F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E509F
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E509F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E509F | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5CA2
Deuteranopia (green-blind)
#24559D
Tritanopia (blue-blind)
#2E6170
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4e509f; /* rgb */ color: rgb(78, 80, 159); /* oklch */ color: oklch(47.0% 0.125 279.3);
Tailwind
colors: {
custom: {
50: '#8581bc',
500: '#4e509f',
950: '#000000',
},
}SCSS
$custom: #4e509f; $custom-light: #8581bc; $custom-dark: #000000;
JSON
{
"hex": "#4e509f",
"rgb": {
"r": 78,
"g": 80,
"b": 159
},
"hsl": {
"h": 238.519,
"s": 34.177,
"l": 46.471
},
"oklch": {
"l": 0.47046,
"c": 0.1251,
"h": 279.3
},
"luminance": 0.0986
}Semantic roles & 50–950 ramp
primary
#4E509F
secondary
#BAB98F
accent
#C85ECA
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81