#4E4F87#4E4F87
#4E4F87 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.3% C 0.090 H 281.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4F87 |
|---|---|
| RGB | rgb(78, 79, 135) |
| HSL | hsl(239, 27%, 42%) |
| HSV | hsv(239, 42%, 53%) |
| CMYK | cmyk(42.2%, 41.5%, 0%, 47.1%) |
| CIE-LAB | lab(35.91, 14.71, -31.49) |
| CIE-LCH | lch(35.91, 34.76, 295.04°) |
| OKLab | oklab(45.31% 0.0179 -0.0887) |
| OKLCH | oklch(45.31% 0.09 281.4) |
| XYZ | xyz(10.3098, 8.9605, 24.1033) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.00
Dusk
#4E5481
ΔE00 2.77
Blueberry
#464196
ΔE00 6.26
Darkslateblue
#483D8B
ΔE00 6.43
Dusky Blue
#475F94
ΔE00 7.31
Denim Blue
#3B5B92
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4F87 #87864E
analogous
#4E6C87 #4E4F87 #6A4E87
triadic
#4E4F87 #874E4F #4F874E
tetradic
#4E4F87 #874E6C #87864E #4E876A
square
#4E4F87 #874E6C #87864E #4E876A
split-complementary
#4E4F87 #876A4E #6C874E
monochromatic
#212239 #383860 #4E4F87 #6A6BA9 #9091BF
Accessibility & contrast
On white
7.52
#4E4F87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#4E4F87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4F87
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4F87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4F87 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B5789
Deuteranopia (green-blind)
#385286
Tritanopia (blue-blind)
#3D5A64
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #4e4f87; /* rgb */ color: rgb(78, 79, 135); /* oklch */ color: oklch(45.3% 0.090 281.4);
Tailwind
colors: {
custom: {
50: '#8280aa',
500: '#4e4f87',
950: '#000000',
},
}SCSS
$custom: #4e4f87; $custom-light: #8280aa; $custom-dark: #000000;
JSON
{
"hex": "#4e4f87",
"rgb": {
"r": 78,
"g": 79,
"b": 135
},
"hsl": {
"h": 238.947,
"s": 26.761,
"l": 41.765
},
"oklch": {
"l": 0.45313,
"c": 0.09046,
"h": 281.4
},
"luminance": 0.08961
}Semantic roles & 50–950 ramp
primary
#4E4F87
secondary
#ACAB85
accent
#C165C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F