#4E4782#4E4782
#4E4782 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.3% C 0.095 H 287.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4782 |
|---|---|
| RGB | rgb(78, 71, 130) |
| HSL | hsl(247, 29%, 39%) |
| HSV | hsv(247, 45%, 51%) |
| CMYK | cmyk(40%, 45.4%, 0%, 49%) |
| CIE-LAB | lab(33.43, 18.35, -32.33) |
| CIE-LCH | lch(33.43, 37.18, 299.58°) |
| OKLab | oklab(43.34% 0.0281 -0.0912) |
| OKLCH | oklch(43.34% 0.095 287.2) |
| XYZ | xyz(9.4233, 7.7376, 22.1118) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.78
Darkslateblue
#483D8B
ΔE00 4.43
Dusk
#4E5481
ΔE00 5.24
Blueberry
#464196
ΔE00 5.31
Ocean Blue
#4F42B5
ΔE00 9.43
Rebeccapurple
#663399
ΔE00 9.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4782 #7B8247
analogous
#475E82 #4E4782 #6C4782
triadic
#4E4782 #824E47 #47824E
tetradic
#4E4782 #82475E #7B8247 #47826C
square
#4E4782 #82475E #7B8247 #47826C
split-complementary
#4E4782 #826C47 #5E8247
monochromatic
#1F1C33 #36315A #4E4782 #675FA7 #8D86BD
Accessibility & contrast
On white
8.24
#4E4782 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#4E4782 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4782
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4782 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4782 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325084
Deuteranopia (green-blind)
#324D81
Tritanopia (blue-blind)
#40535E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #4e4782; /* rgb */ color: rgb(78, 71, 130); /* oklch */ color: oklch(43.3% 0.095 287.2);
Tailwind
colors: {
custom: {
50: '#827aa6',
500: '#4e4782',
950: '#000000',
},
}SCSS
$custom: #4e4782; $custom-light: #827aa6; $custom-dark: #000000;
JSON
{
"hex": "#4e4782",
"rgb": {
"r": 78,
"g": 71,
"b": 130
},
"hsl": {
"h": 247.119,
"s": 29.353,
"l": 39.412
},
"oklch": {
"l": 0.43337,
"c": 0.09541,
"h": 287.2
},
"luminance": 0.07738
}Semantic roles & 50–950 ramp
primary
#4E4782
secondary
#A3A97C
accent
#C662BA
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F