#4E5287#4E5287
#4E5287 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 46.0% C 0.086 H 279.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5287 |
|---|---|
| RGB | rgb(78, 82, 135) |
| HSL | hsl(236, 27%, 42%) |
| HSV | hsv(236, 42%, 53%) |
| CMYK | cmyk(42.2%, 39.3%, 0%, 47.1%) |
| CIE-LAB | lab(36.75, 12.78, -30.16) |
| CIE-LCH | lch(36.75, 32.76, 292.97°) |
| OKLab | oklab(45.96% 0.0137 -0.0848) |
| OKLCH | oklch(45.96% 0.086 279.2) |
| XYZ | xyz(10.5311, 9.4031, 24.1771) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.04
Dusk
#4E5481
ΔE00 1.82
Dusky Blue
#475F94
ΔE00 6.35
Blueberry
#464196
ΔE00 7.15
Denim Blue
#3B5B92
ΔE00 7.24
Darkslateblue
#483D8B
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5287 #87834E
analogous
#4E6F87 #4E5287 #674E87
triadic
#4E5287 #874E52 #52874E
tetradic
#4E5287 #874E6F #87834E #4E8767
square
#4E5287 #874E6F #87834E #4E8767
split-complementary
#4E5287 #87674E #6F874E
monochromatic
#212339 #383A60 #4E5287 #6A6EA9 #9094BF
Accessibility & contrast
On white
7.29
#4E5287 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#4E5287 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E5287
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5287 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5287 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#405989
Deuteranopia (green-blind)
#3C5486
Tritanopia (blue-blind)
#3C5D66
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #4e5287; /* rgb */ color: rgb(78, 82, 135); /* oklch */ color: oklch(46.0% 0.086 279.2);
Tailwind
colors: {
custom: {
50: '#8282aa',
500: '#4e5287',
950: '#000000',
},
}SCSS
$custom: #4e5287; $custom-light: #8282aa; $custom-dark: #000000;
JSON
{
"hex": "#4e5287",
"rgb": {
"r": 78,
"g": 82,
"b": 135
},
"hsl": {
"h": 235.789,
"s": 26.761,
"l": 41.765
},
"oklch": {
"l": 0.45957,
"c": 0.0859,
"h": 279.2
},
"luminance": 0.09404
}Semantic roles & 50–950 ramp
primary
#4E5287
secondary
#ACA985
accent
#BC65C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F