#4E5897#4E5897
#4E5897 is a mid, moderate blue. Relative luminance 0.108; OKLCH L 48.2% C 0.102 H 275.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5897 |
|---|---|
| RGB | rgb(78, 88, 151) |
| HSL | hsl(232, 32%, 45%) |
| HSV | hsv(232, 48%, 59%) |
| CMYK | cmyk(48.3%, 41.7%, 0%, 40.8%) |
| CIE-LAB | lab(39.30, 13.98, -35.83) |
| CIE-LCH | lch(39.30, 38.46, 291.31°) |
| OKLab | oklab(48.19% 0.0091 -0.1013) |
| OKLCH | oklch(48.19% 0.102 275.1) |
| XYZ | xyz(12.2158, 10.8328, 30.7194) |
| Luminance | 0.1083 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.17
Dusky Blue
#475F94
ΔE00 3.82
Dusk
#4E5481
ΔE00 4.48
Denim Blue
#3B5B92
ΔE00 5.07
Dusk Blue
#26538D
ΔE00 7.64
Blueberry
#464196
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5897 #978D4E
analogous
#4E7C97 #4E5897 #694E97
triadic
#4E5897 #974E58 #58974E
tetradic
#4E5897 #974E7C #978D4E #4E9769
square
#4E5897 #974E7C #978D4E #4E9769
split-complementary
#4E5897 #97694E #7C974E
monochromatic
#242946 #39406F #4E5897 #6E78B4 #969DC9
Accessibility & contrast
On white
6.63
#4E5897 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#4E5897 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5897
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5897 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5897 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#406099
Deuteranopia (green-blind)
#395A96
Tritanopia (blue-blind)
#336570
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4e5897; /* rgb */ color: rgb(78, 88, 151); /* oklch */ color: oklch(48.2% 0.102 275.1);
Tailwind
colors: {
custom: {
50: '#8487b6',
500: '#4e5897',
950: '#000000',
},
}SCSS
$custom: #4e5897; $custom-light: #8487b6; $custom-dark: #000000;
JSON
{
"hex": "#4e5897",
"rgb": {
"r": 78,
"g": 88,
"b": 151
},
"hsl": {
"h": 231.781,
"s": 31.878,
"l": 44.902
},
"oklch": {
"l": 0.48192,
"c": 0.10172,
"h": 275.1
},
"luminance": 0.10834
}Semantic roles & 50–950 ramp
primary
#4E5897
secondary
#B6B08B
accent
#BA60C8
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80