#4E4893#4E4893
#4E4893 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.6% C 0.119 H 284.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4893 |
|---|---|
| RGB | rgb(78, 72, 147) |
| HSL | hsl(245, 34%, 43%) |
| HSV | hsv(245, 51%, 58%) |
| CMYK | cmyk(46.9%, 51%, 0%, 42.4%) |
| CIE-LAB | lab(34.72, 22.98, -40.70) |
| CIE-LCH | lch(34.72, 46.74, 299.44°) |
| OKLab | oklab(44.64% 0.029 -0.1157) |
| OKLCH | oklch(44.64% 0.119 284.1) |
| XYZ | xyz(10.7242, 8.3605, 28.6468) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.67
Darkslateblue
#483D8B
ΔE00 3.42
Twilight
#4E518B
ΔE00 3.98
Ocean Blue
#4F42B5
ΔE00 6.16
Dusk
#4E5481
ΔE00 6.53
Sapphire (survey)
#2138AB
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4893 #8D9348
analogous
#486793 #4E4893 #734893
triadic
#4E4893 #934E48 #48934E
tetradic
#4E4893 #934867 #8D9348 #489373
square
#4E4893 #934867 #8D9348 #489373
split-complementary
#4E4893 #937348 #679348
monochromatic
#222041 #38346A #4E4893 #6B65B3 #928EC8
Accessibility & contrast
On white
7.86
#4E4893 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#4E4893 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4893
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4893 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4893 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275496
Deuteranopia (green-blind)
#244F91
Tritanopia (blue-blind)
#375866
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #4e4893; /* rgb */ color: rgb(78, 72, 147); /* oklch */ color: oklch(44.6% 0.119 284.1);
Tailwind
colors: {
custom: {
50: '#847bb3',
500: '#4e4893',
950: '#000000',
},
}SCSS
$custom: #4e4893; $custom-light: #847bb3; $custom-dark: #000000;
JSON
{
"hex": "#4e4893",
"rgb": {
"r": 78,
"g": 72,
"b": 147
},
"hsl": {
"h": 244.8,
"s": 34.247,
"l": 42.941
},
"oklch": {
"l": 0.44644,
"c": 0.11927,
"h": 284.1
},
"luminance": 0.08361
}Semantic roles & 50–950 ramp
primary
#4E4893
secondary
#AFB384
accent
#CA5DC2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80