#4E4785#4E4785
#4E4785 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.5% C 0.100 H 286.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4785 |
|---|---|
| RGB | rgb(78, 71, 133) |
| HSL | hsl(247, 30%, 40%) |
| HSV | hsv(247, 47%, 52%) |
| CMYK | cmyk(41.4%, 46.6%, 0%, 47.8%) |
| CIE-LAB | lab(33.60, 19.27, -33.91) |
| CIE-LCH | lch(33.60, 39.00, 299.60°) |
| OKLab | oklab(43.53% 0.0286 -0.0958) |
| OKLCH | oklch(43.53% 0.1 286.6) |
| XYZ | xyz(9.6276, 7.8193, 23.1878) |
| Luminance | 0.0782 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.65
Darkslateblue
#483D8B
ΔE00 3.96
Blueberry
#464196
ΔE00 4.68
Dusk
#4E5481
ΔE00 5.43
Ocean Blue
#4F42B5
ΔE00 8.78
Rebeccapurple
#663399
ΔE00 9.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4785 #7E8547
analogous
#475F85 #4E4785 #6D4785
triadic
#4E4785 #854E47 #47854E
tetradic
#4E4785 #85475F #7E8547 #47856D
square
#4E4785 #85475F #7E8547 #47856D
split-complementary
#4E4785 #856D47 #5F8547
monochromatic
#1F1C35 #37325D #4E4785 #685FAA #8E87BF
Accessibility & contrast
On white
8.19
#4E4785 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#4E4785 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4785
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4785 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4785 | 1.00 | 8.19 | 2.56 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305187
Deuteranopia (green-blind)
#2F4D84
Tritanopia (blue-blind)
#3E535F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #4e4785; /* rgb */ color: rgb(78, 71, 133); /* oklch */ color: oklch(43.5% 0.100 286.6);
Tailwind
colors: {
custom: {
50: '#827aa9',
500: '#4e4785',
950: '#000000',
},
}SCSS
$custom: #4e4785; $custom-light: #827aa9; $custom-dark: #000000;
JSON
{
"hex": "#4e4785",
"rgb": {
"r": 78,
"g": 71,
"b": 133
},
"hsl": {
"h": 246.774,
"s": 30.392,
"l": 40
},
"oklch": {
"l": 0.43525,
"c": 0.09996,
"h": 286.6
},
"luminance": 0.0782
}Semantic roles & 50–950 ramp
primary
#4E4785
secondary
#A6AB7D
accent
#C761BB
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F