#4E4589#4E4589
#4E4589 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.4% C 0.109 H 287.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4589 |
|---|---|
| RGB | rgb(78, 69, 137) |
| HSL | hsl(248, 33%, 40%) |
| HSV | hsv(248, 50%, 54%) |
| CMYK | cmyk(43.1%, 49.6%, 0%, 46.3%) |
| CIE-LAB | lab(33.31, 21.78, -36.84) |
| CIE-LCH | lch(33.31, 42.80, 300.60°) |
| OKLab | oklab(43.38% 0.0319 -0.1044) |
| OKLCH | oklch(43.38% 0.109 287) |
| XYZ | xyz(9.7841, 7.6817, 24.6293) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.84
Blueberry
#464196
ΔE00 3.58
Twilight
#4E518B
ΔE00 4.35
Dusk
#4E5481
ΔE00 6.44
Ocean Blue
#4F42B5
ΔE00 7.72
Rebeccapurple
#663399
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4589 #808945
analogous
#455E89 #4E4589 #704589
triadic
#4E4589 #894E45 #45894E
tetradic
#4E4589 #89455E #808945 #458970
square
#4E4589 #89455E #808945 #458970
split-complementary
#4E4589 #897045 #5E8945
monochromatic
#201C38 #373160 #4E4589 #685EAE #8E86C2
Accessibility & contrast
On white
8.28
#4E4589 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#4E4589 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4589
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4589 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4589 | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A508B
Deuteranopia (green-blind)
#294C87
Tritanopia (blue-blind)
#3D5360
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #4e4589; /* rgb */ color: rgb(78, 69, 137); /* oklch */ color: oklch(43.4% 0.109 287.0);
Tailwind
colors: {
custom: {
50: '#8378ac',
500: '#4e4589',
950: '#000000',
},
}SCSS
$custom: #4e4589; $custom-light: #8378ac; $custom-dark: #000000;
JSON
{
"hex": "#4e4589",
"rgb": {
"r": 78,
"g": 69,
"b": 137
},
"hsl": {
"h": 247.941,
"s": 33.01,
"l": 40.392
},
"oklch": {
"l": 0.43382,
"c": 0.10914,
"h": 287
},
"luminance": 0.07682
}Semantic roles & 50–950 ramp
primary
#4E4589
secondary
#A7AD7C
accent
#C95FBB
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F