#4E5898#4E5898
#4E5898 is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.3% C 0.103 H 275.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5898 |
|---|---|
| RGB | rgb(78, 88, 152) |
| HSL | hsl(232, 32%, 45%) |
| HSV | hsv(232, 49%, 60%) |
| CMYK | cmyk(48.7%, 42.1%, 0%, 40.4%) |
| CIE-LAB | lab(39.35, 14.30, -36.35) |
| CIE-LCH | lch(39.35, 39.06, 291.47°) |
| OKLab | oklab(48.25% 0.0093 -0.1028) |
| OKLCH | oklch(48.25% 0.103 275.1) |
| XYZ | xyz(12.2973, 10.8655, 31.1489) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.28
Dusky Blue
#475F94
ΔE00 3.84
Dusk
#4E5481
ΔE00 4.65
Denim Blue
#3B5B92
ΔE00 5.08
Blueberry
#464196
ΔE00 7.62
Dusk Blue
#26538D
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5898 #988E4E
analogous
#4E7D98 #4E5898 #694E98
triadic
#4E5898 #984E58 #58984E
tetradic
#4E5898 #984E7D #988E4E #4E9869
square
#4E5898 #984E7D #988E4E #4E9869
split-complementary
#4E5898 #98694E #7D984E
monochromatic
#242947 #394170 #4E5898 #6E78B5 #979ECA
Accessibility & contrast
On white
6.62
#4E5898 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#4E5898 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5898
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5898 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5898 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F609A
Deuteranopia (green-blind)
#395A97
Tritanopia (blue-blind)
#326570
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4e5898; /* rgb */ color: rgb(78, 88, 152); /* oklch */ color: oklch(48.3% 0.103 275.1);
Tailwind
colors: {
custom: {
50: '#8487b6',
500: '#4e5898',
950: '#000000',
},
}SCSS
$custom: #4e5898; $custom-light: #8487b6; $custom-dark: #000000;
JSON
{
"hex": "#4e5898",
"rgb": {
"r": 78,
"g": 88,
"b": 152
},
"hsl": {
"h": 231.892,
"s": 32.174,
"l": 45.098
},
"oklch": {
"l": 0.48252,
"c": 0.10324,
"h": 275.1
},
"luminance": 0.10866
}Semantic roles & 50–950 ramp
primary
#4E5898
secondary
#B6B08C
accent
#BA5FC8
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80