#4E4881#4E4881
#4E4881 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.5% C 0.092 H 286.7°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4881 |
|---|---|
| RGB | rgb(78, 72, 129) |
| HSL | hsl(246, 28%, 39%) |
| HSV | hsv(246, 44%, 51%) |
| CMYK | cmyk(39.5%, 44.2%, 0%, 49.4%) |
| CIE-LAB | lab(33.65, 17.40, -31.37) |
| CIE-LCH | lch(33.65, 35.88, 299.02°) |
| OKLab | oklab(43.48% 0.0265 -0.0884) |
| OKLCH | oklch(43.48% 0.092 286.7) |
| XYZ | xyz(9.4206, 7.8391, 21.7814) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.55
Dusk
#4E5481
ΔE00 4.82
Darkslateblue
#483D8B
ΔE00 4.90
Blueberry
#464196
ΔE00 5.71
Ocean Blue
#4F42B5
ΔE00 9.78
Dusky Blue
#475F94
ΔE00 9.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4881 #7B8148
analogous
#485F81 #4E4881 #6B4881
triadic
#4E4881 #814E48 #48814E
tetradic
#4E4881 #81485F #7B8148 #48816B
square
#4E4881 #81485F #7B8148 #48816B
split-complementary
#4E4881 #816B48 #5F8148
monochromatic
#1F1C32 #36325A #4E4881 #6760A6 #8D87BC
Accessibility & contrast
On white
8.18
#4E4881 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#4E4881 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4881
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4881 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4881 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345183
Deuteranopia (green-blind)
#334E80
Tritanopia (blue-blind)
#40535E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #4e4881; /* rgb */ color: rgb(78, 72, 129); /* oklch */ color: oklch(43.5% 0.092 286.7);
Tailwind
colors: {
custom: {
50: '#827ba6',
500: '#4e4881',
950: '#000000',
},
}SCSS
$custom: #4e4881; $custom-light: #827ba6; $custom-dark: #000000;
JSON
{
"hex": "#4e4881",
"rgb": {
"r": 78,
"g": 72,
"b": 129
},
"hsl": {
"h": 246.316,
"s": 28.358,
"l": 39.412
},
"oklch": {
"l": 0.43482,
"c": 0.09227,
"h": 286.7
},
"luminance": 0.07839
}Semantic roles & 50–950 ramp
primary
#4E4881
secondary
#A3A87D
accent
#C563BA
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F