#4E4894#4E4894
#4E4894 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.121 H 284.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4894 |
|---|---|
| RGB | rgb(78, 72, 148) |
| HSL | hsl(245, 35%, 43%) |
| HSV | hsv(245, 51%, 58%) |
| CMYK | cmyk(47.3%, 51.4%, 0%, 42%) |
| CIE-LAB | lab(34.79, 23.29, -41.21) |
| CIE-LCH | lch(34.79, 47.33, 299.48°) |
| OKLab | oklab(44.71% 0.0291 -0.1172) |
| OKLCH | oklch(44.71% 0.121 284) |
| XYZ | xyz(10.8030, 8.3921, 29.0618) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.58
Darkslateblue
#483D8B
ΔE00 3.45
Twilight
#4E518B
ΔE00 4.09
Ocean Blue
#4F42B5
ΔE00 5.98
Dusk
#4E5481
ΔE00 6.65
Sapphire (survey)
#2138AB
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4894 #8E9448
analogous
#486894 #4E4894 #744894
triadic
#4E4894 #944E48 #48944E
tetradic
#4E4894 #944868 #8E9448 #489474
square
#4E4894 #944868 #8E9448 #489474
split-complementary
#4E4894 #947448 #689448
monochromatic
#232042 #38346B #4E4894 #6B65B4 #938EC8
Accessibility & contrast
On white
7.84
#4E4894 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#4E4894 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4894
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4894 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4894 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265497
Deuteranopia (green-blind)
#224F92
Tritanopia (blue-blind)
#375867
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #4e4894; /* rgb */ color: rgb(78, 72, 148); /* oklch */ color: oklch(44.7% 0.121 284.0);
Tailwind
colors: {
custom: {
50: '#847bb4',
500: '#4e4894',
950: '#000000',
},
}SCSS
$custom: #4e4894; $custom-light: #847bb4; $custom-dark: #000000;
JSON
{
"hex": "#4e4894",
"rgb": {
"r": 78,
"g": 72,
"b": 148
},
"hsl": {
"h": 244.737,
"s": 34.545,
"l": 43.137
},
"oklch": {
"l": 0.44713,
"c": 0.12073,
"h": 284
},
"luminance": 0.08393
}Semantic roles & 50–950 ramp
primary
#4E4894
secondary
#B0B484
accent
#CB5DC2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80