#4E4790#4E4790
#4E4790 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 44.2% C 0.116 H 284.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4790 |
|---|---|
| RGB | rgb(78, 71, 144) |
| HSL | hsl(246, 34%, 42%) |
| HSV | hsv(246, 51%, 56%) |
| CMYK | cmyk(45.8%, 50.7%, 0%, 43.5%) |
| CIE-LAB | lab(34.27, 22.67, -39.60) |
| CIE-LCH | lch(34.27, 45.63, 299.80°) |
| OKLab | oklab(44.24% 0.03 -0.1124) |
| OKLCH | oklch(44.24% 0.116 284.9) |
| XYZ | xyz(10.4277, 8.1394, 27.4018) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.78
Darkslateblue
#483D8B
ΔE00 3.08
Twilight
#4E518B
ΔE00 4.03
Dusk
#4E5481
ΔE00 6.48
Ocean Blue
#4F42B5
ΔE00 6.58
Rebeccapurple
#663399
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4790 #899047
analogous
#476590 #4E4790 #724790
triadic
#4E4790 #904E47 #47904E
tetradic
#4E4790 #904765 #899047 #479072
square
#4E4790 #904765 #899047 #479072
split-complementary
#4E4790 #907247 #659047
monochromatic
#221F3E #383367 #4E4790 #6A62B2 #918BC6
Accessibility & contrast
On white
7.99
#4E4790 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#4E4790 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4790
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4790 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4790 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285393
Deuteranopia (green-blind)
#254E8E
Tritanopia (blue-blind)
#395664
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4e4790; /* rgb */ color: rgb(78, 71, 144); /* oklch */ color: oklch(44.2% 0.116 284.9);
Tailwind
colors: {
custom: {
50: '#847ab1',
500: '#4e4790',
950: '#000000',
},
}SCSS
$custom: #4e4790; $custom-light: #847ab1; $custom-dark: #000000;
JSON
{
"hex": "#4e4790",
"rgb": {
"r": 78,
"g": 71,
"b": 144
},
"hsl": {
"h": 245.753,
"s": 33.953,
"l": 42.157
},
"oklch": {
"l": 0.44244,
"c": 0.11638,
"h": 284.9
},
"luminance": 0.0814
}Semantic roles & 50–950 ramp
primary
#4E4790
secondary
#ADB281
accent
#CA5EC0
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0B0911
muted
#7C7B80