#4E479E#4E479E
#4E479E is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.137 H 283.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #4E479E |
|---|---|
| RGB | rgb(78, 71, 158) |
| HSL | hsl(245, 38%, 45%) |
| HSV | hsv(245, 55%, 62%) |
| CMYK | cmyk(50.6%, 55.1%, 0%, 38%) |
| CIE-LAB | lab(35.19, 27.11, -46.61) |
| CIE-LCH | lch(35.19, 53.92, 300.19°) |
| OKLab | oklab(45.23% 0.031 -0.1331) |
| OKLCH | oklch(45.23% 0.137 283.1) |
| XYZ | xyz(11.5648, 8.5942, 33.3906) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.23
Darkslateblue
#483D8B
ΔE00 4.01
Ocean Blue
#4F42B5
ΔE00 4.11
Twilight
#4E518B
ΔE00 5.56
Blue With A Hint Of Purple
#533CC6
ΔE00 6.96
Sapphire (survey)
#2138AB
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E479E #979E47
analogous
#476B9E #4E479E #7A479E
triadic
#4E479E #9E4E47 #479E4E
tetradic
#4E479E #9E476B #979E47 #479E7A
square
#4E479E #9E476B #979E47 #479E7A
split-complementary
#4E479E #9E7A47 #6B9E47
monochromatic
#24214A #393474 #4E479E #6E67BB #9692CE
Accessibility & contrast
On white
7.72
#4E479E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#4E479E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E479E
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E479E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E479E | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1656A1
Deuteranopia (green-blind)
#0E509C
Tritanopia (blue-blind)
#305A6B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #4e479e; /* rgb */ color: rgb(78, 71, 158); /* oklch */ color: oklch(45.2% 0.137 283.1);
Tailwind
colors: {
custom: {
50: '#867abb',
500: '#4e479e',
950: '#000000',
},
}SCSS
$custom: #4e479e; $custom-light: #867abb; $custom-dark: #000000;
JSON
{
"hex": "#4e479e",
"rgb": {
"r": 78,
"g": 71,
"b": 158
},
"hsl": {
"h": 244.828,
"s": 37.991,
"l": 44.902
},
"oklch": {
"l": 0.45227,
"c": 0.13662,
"h": 283.1
},
"luminance": 0.08595
}Semantic roles & 50–950 ramp
primary
#4E479E
secondary
#B6BA87
accent
#CE5AC5
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0912
muted
#7D7B81