#4E4987#4E4987
#4E4987 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 44.1% C 0.100 H 285.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4987 |
|---|---|
| RGB | rgb(78, 73, 135) |
| HSL | hsl(245, 30%, 41%) |
| HSV | hsv(245, 46%, 53%) |
| CMYK | cmyk(42.2%, 45.9%, 0%, 47.1%) |
| CIE-LAB | lab(34.26, 18.59, -34.10) |
| CIE-LCH | lch(34.26, 38.84, 298.59°) |
| OKLab | oklab(44.06% 0.0262 -0.0963) |
| OKLCH | oklch(44.06% 0.1 285.2) |
| XYZ | xyz(9.8964, 8.1337, 23.9655) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.92
Darkslateblue
#483D8B
ΔE00 4.34
Blueberry
#464196
ΔE00 4.70
Dusk
#4E5481
ΔE00 4.88
Ocean Blue
#4F42B5
ΔE00 8.63
Dusky Blue
#475F94
ΔE00 9.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4987 #828749
analogous
#496387 #4E4987 #6D4987
triadic
#4E4987 #874E49 #49874E
tetradic
#4E4987 #874963 #828749 #49876D
square
#4E4987 #874963 #828749 #49876D
split-complementary
#4E4987 #876D49 #638749
monochromatic
#201E38 #37345F #4E4987 #6863AA #8F8AC0
Accessibility & contrast
On white
7.99
#4E4987 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#4E4987 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4987
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4987 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4987 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325289
Deuteranopia (green-blind)
#304F86
Tritanopia (blue-blind)
#3D5561
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4e4987; /* rgb */ color: rgb(78, 73, 135); /* oklch */ color: oklch(44.1% 0.100 285.2);
Tailwind
colors: {
custom: {
50: '#837baa',
500: '#4e4987',
950: '#000000',
},
}SCSS
$custom: #4e4987; $custom-light: #837baa; $custom-dark: #000000;
JSON
{
"hex": "#4e4987",
"rgb": {
"r": 78,
"g": 73,
"b": 135
},
"hsl": {
"h": 244.839,
"s": 29.808,
"l": 40.784
},
"oklch": {
"l": 0.44059,
"c": 0.09982,
"h": 285.2
},
"luminance": 0.08134
}Semantic roles & 50–950 ramp
primary
#4E4987
secondary
#A8AC80
accent
#C662BE
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F