#4E4989#4E4989
#4E4989 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.2% C 0.103 H 284.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4989 |
|---|---|
| RGB | rgb(78, 73, 137) |
| HSL | hsl(245, 30%, 41%) |
| HSV | hsv(245, 47%, 54%) |
| CMYK | cmyk(43.1%, 46.7%, 0%, 46.3%) |
| CIE-LAB | lab(34.38, 19.21, -35.14) |
| CIE-LCH | lch(34.38, 40.05, 298.66°) |
| OKLab | oklab(44.19% 0.0265 -0.0994) |
| OKLCH | oklch(44.19% 0.103 284.9) |
| XYZ | xyz(10.0385, 8.1905, 24.7141) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.92
Darkslateblue
#483D8B
ΔE00 4.13
Blueberry
#464196
ΔE00 4.33
Dusk
#4E5481
ΔE00 5.08
Ocean Blue
#4F42B5
ΔE00 8.23
Dusky Blue
#475F94
ΔE00 9.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4989 #848949
analogous
#496489 #4E4989 #6E4989
triadic
#4E4989 #894E49 #49894E
tetradic
#4E4989 #894964 #848949 #49896E
square
#4E4989 #894964 #848949 #49896E
split-complementary
#4E4989 #896E49 #648949
monochromatic
#211E39 #373461 #4E4989 #6963AC #8F8BC1
Accessibility & contrast
On white
7.96
#4E4989 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#4E4989 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4989
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4989 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4989 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#31538B
Deuteranopia (green-blind)
#2F4F88
Tritanopia (blue-blind)
#3C5662
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4e4989; /* rgb */ color: rgb(78, 73, 137); /* oklch */ color: oklch(44.2% 0.103 284.9);
Tailwind
colors: {
custom: {
50: '#837bac',
500: '#4e4989',
950: '#000000',
},
}SCSS
$custom: #4e4989; $custom-light: #837bac; $custom-dark: #000000;
JSON
{
"hex": "#4e4989",
"rgb": {
"r": 78,
"g": 73,
"b": 137
},
"hsl": {
"h": 244.688,
"s": 30.476,
"l": 41.176
},
"oklch": {
"l": 0.44185,
"c": 0.10285,
"h": 284.9
},
"luminance": 0.08191
}Semantic roles & 50–950 ramp
primary
#4E4989
secondary
#AAAD81
accent
#C761BF
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F