#4E5186#4E5186
#4E5186 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.7% C 0.086 H 280.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5186 |
|---|---|
| RGB | rgb(78, 81, 134) |
| HSL | hsl(237, 26%, 42%) |
| HSV | hsv(237, 42%, 53%) |
| CMYK | cmyk(41.8%, 39.6%, 0%, 47.5%) |
| CIE-LAB | lab(36.41, 13.12, -30.08) |
| CIE-LCH | lch(36.41, 32.81, 293.56°) |
| OKLab | oklab(45.68% 0.0148 -0.0846) |
| OKLCH | oklch(45.68% 0.086 280) |
| XYZ | xyz(10.3861, 9.2254, 23.7831) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.10
Dusk
#4E5481
ΔE00 1.94
Dusky Blue
#475F94
ΔE00 6.74
Blueberry
#464196
ΔE00 7.01
Darkslateblue
#483D8B
ΔE00 7.25
Denim Blue
#3B5B92
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5186 #86834E
analogous
#4E6D86 #4E5186 #674E86
triadic
#4E5186 #864E51 #51864E
tetradic
#4E5186 #864E6D #86834E #4E8667
square
#4E5186 #864E6D #86834E #4E8667
split-complementary
#4E5186 #86674E #6D864E
monochromatic
#212239 #373A5F #4E5186 #696DA8 #9092BE
Accessibility & contrast
On white
7.38
#4E5186 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#4E5186 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E5186
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5186 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5186 | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5888
Deuteranopia (green-blind)
#3B5485
Tritanopia (blue-blind)
#3D5B65
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #4e5186; /* rgb */ color: rgb(78, 81, 134); /* oklch */ color: oklch(45.7% 0.086 280.0);
Tailwind
colors: {
custom: {
50: '#8281a9',
500: '#4e5186',
950: '#000000',
},
}SCSS
$custom: #4e5186; $custom-light: #8281a9; $custom-dark: #000000;
JSON
{
"hex": "#4e5186",
"rgb": {
"r": 78,
"g": 81,
"b": 134
},
"hsl": {
"h": 236.786,
"s": 26.415,
"l": 41.569
},
"oklch": {
"l": 0.45683,
"c": 0.08586,
"h": 280
},
"luminance": 0.09226
}Semantic roles & 50–950 ramp
primary
#4E5186
secondary
#ABA985
accent
#BE65C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F