#4E4882#4E4882
#4E4882 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.5% C 0.094 H 286.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4882 |
|---|---|
| RGB | rgb(78, 72, 130) |
| HSL | hsl(246, 29%, 40%) |
| HSV | hsv(246, 45%, 51%) |
| CMYK | cmyk(40%, 44.6%, 0%, 49%) |
| CIE-LAB | lab(33.70, 17.71, -31.90) |
| CIE-LCH | lch(33.70, 36.49, 299.03°) |
| OKLab | oklab(43.54% 0.0267 -0.0899) |
| OKLCH | oklch(43.54% 0.094 286.6) |
| XYZ | xyz(9.4874, 7.8658, 22.1331) |
| Luminance | 0.0787 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.47
Darkslateblue
#483D8B
ΔE00 4.73
Dusk
#4E5481
ΔE00 4.87
Blueberry
#464196
ΔE00 5.49
Ocean Blue
#4F42B5
ΔE00 9.56
Dusky Blue
#475F94
ΔE00 9.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4882 #7C8248
analogous
#485F82 #4E4882 #6B4882
triadic
#4E4882 #824E48 #48824E
tetradic
#4E4882 #82485F #7C8248 #48826B
square
#4E4882 #82485F #7C8248 #48826B
split-complementary
#4E4882 #826B48 #5F8248
monochromatic
#1F1C33 #36325B #4E4882 #6760A7 #8D88BD
Accessibility & contrast
On white
8.16
#4E4882 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#4E4882 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4882
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4882 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4882 | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345184
Deuteranopia (green-blind)
#334E81
Tritanopia (blue-blind)
#40535E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #4e4882; /* rgb */ color: rgb(78, 72, 130); /* oklch */ color: oklch(43.5% 0.094 286.6);
Tailwind
colors: {
custom: {
50: '#827ba6',
500: '#4e4882',
950: '#000000',
},
}SCSS
$custom: #4e4882; $custom-light: #827ba6; $custom-dark: #000000;
JSON
{
"hex": "#4e4882",
"rgb": {
"r": 78,
"g": 72,
"b": 130
},
"hsl": {
"h": 246.207,
"s": 28.713,
"l": 39.608
},
"oklch": {
"l": 0.43543,
"c": 0.0938,
"h": 286.6
},
"luminance": 0.07866
}Semantic roles & 50–950 ramp
primary
#4E4882
secondary
#A4A97D
accent
#C563BB
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F