#4E4788#4E4788
#4E4788 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.7% C 0.104 H 286.1°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4788 |
|---|---|
| RGB | rgb(78, 71, 136) |
| HSL | hsl(246, 31%, 41%) |
| HSV | hsv(246, 48%, 53%) |
| CMYK | cmyk(42.6%, 47.8%, 0%, 46.7%) |
| CIE-LAB | lab(33.78, 20.19, -35.48) |
| CIE-LCH | lch(33.78, 40.82, 299.64°) |
| OKLab | oklab(43.72% 0.0291 -0.1004) |
| OKLCH | oklch(43.72% 0.104 286.1) |
| XYZ | xyz(9.8378, 7.9034, 24.2949) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.57
Twilight
#4E518B
ΔE00 3.63
Blueberry
#464196
ΔE00 4.10
Dusk
#4E5481
ΔE00 5.67
Ocean Blue
#4F42B5
ΔE00 8.15
Rebeccapurple
#663399
ΔE00 9.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4788 #818847
analogous
#476088 #4E4788 #6E4788
triadic
#4E4788 #884E47 #47884E
tetradic
#4E4788 #884760 #818847 #47886E
square
#4E4788 #884760 #818847 #47886E
split-complementary
#4E4788 #886E47 #608847
monochromatic
#201D38 #373260 #4E4788 #6860AC #8E88C1
Accessibility & contrast
On white
8.14
#4E4788 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#4E4788 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4788
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4788 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4788 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E518A
Deuteranopia (green-blind)
#2D4E87
Tritanopia (blue-blind)
#3D5461
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #4e4788; /* rgb */ color: rgb(78, 71, 136); /* oklch */ color: oklch(43.7% 0.104 286.1);
Tailwind
colors: {
custom: {
50: '#837aab',
500: '#4e4788',
950: '#000000',
},
}SCSS
$custom: #4e4788; $custom-light: #837aab; $custom-dark: #000000;
JSON
{
"hex": "#4e4788",
"rgb": {
"r": 78,
"g": 71,
"b": 136
},
"hsl": {
"h": 246.462,
"s": 31.401,
"l": 40.588
},
"oklch": {
"l": 0.43716,
"c": 0.10449,
"h": 286.1
},
"luminance": 0.07904
}Semantic roles & 50–950 ramp
primary
#4E4788
secondary
#A8AD7E
accent
#C860BC
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F