#4E5791#4E5791
#4E5791 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.6% C 0.094 H 275.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5791 |
|---|---|
| RGB | rgb(78, 87, 145) |
| HSL | hsl(232, 30%, 44%) |
| HSV | hsv(232, 46%, 57%) |
| CMYK | cmyk(46.2%, 40%, 0%, 43.1%) |
| CIE-LAB | lab(38.69, 12.70, -33.18) |
| CIE-LCH | lch(38.69, 35.53, 290.95°) |
| OKLab | oklab(47.62% 0.0091 -0.0936) |
| OKLCH | oklch(47.62% 0.094 275.6) |
| XYZ | xyz(11.6593, 10.4798, 28.1910) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.35
Dusk
#4E5481
ΔE00 3.36
Dusky Blue
#475F94
ΔE00 4.19
Denim Blue
#3B5B92
ΔE00 5.40
Blueberry
#464196
ΔE00 7.68
Dusk Blue
#26538D
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5791 #91884E
analogous
#4E7891 #4E5791 #664E91
triadic
#4E5791 #914E57 #57914E
tetradic
#4E5791 #914E78 #91884E #4E9166
square
#4E5791 #914E78 #91884E #4E9166
split-complementary
#4E5791 #91664E #78914E
monochromatic
#232741 #393F69 #4E5791 #6C75B0 #949BC5
Accessibility & contrast
On white
6.78
#4E5791 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#4E5791 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5791
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5791 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5791 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#425E93
Deuteranopia (green-blind)
#3C5990
Tritanopia (blue-blind)
#37636D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4e5791; /* rgb */ color: rgb(78, 87, 145); /* oklch */ color: oklch(47.6% 0.094 275.6);
Tailwind
colors: {
custom: {
50: '#8386b1',
500: '#4e5791',
950: '#000000',
},
}SCSS
$custom: #4e5791; $custom-light: #8386b1; $custom-dark: #000000;
JSON
{
"hex": "#4e5791",
"rgb": {
"r": 78,
"g": 87,
"b": 145
},
"hsl": {
"h": 231.94,
"s": 30.045,
"l": 43.725
},
"oklch": {
"l": 0.47619,
"c": 0.09402,
"h": 275.6
},
"luminance": 0.1048
}Semantic roles & 50–950 ramp
primary
#4E5791
secondary
#B2AC89
accent
#B962C6
background
#F8F8FA
surface
#EFEFF5
border
#CACACF
text
#0B0B11
muted
#7C7C80