#4E5895#4E5895
#4E5895 is a mid, moderate blue. Relative luminance 0.108; OKLCH L 48.1% C 0.099 H 275.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5895 |
|---|---|
| RGB | rgb(78, 88, 149) |
| HSL | hsl(232, 31%, 45%) |
| HSV | hsv(232, 48%, 58%) |
| CMYK | cmyk(47.7%, 40.9%, 0%, 41.6%) |
| CIE-LAB | lab(39.19, 13.34, -34.80) |
| CIE-LCH | lch(39.19, 37.27, 290.96°) |
| OKLab | oklab(48.07% 0.0087 -0.0983) |
| OKLCH | oklch(48.07% 0.099 275) |
| XYZ | xyz(12.0547, 10.7684, 29.8713) |
| Luminance | 0.1077 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.97
Dusky Blue
#475F94
ΔE00 3.81
Dusk
#4E5481
ΔE00 4.12
Denim Blue
#3B5B92
ΔE00 5.08
Dusk Blue
#26538D
ΔE00 7.64
Blueberry
#464196
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5895 #958B4E
analogous
#4E7C95 #4E5895 #674E95
triadic
#4E5895 #954E58 #58954E
tetradic
#4E5895 #954E7C #958B4E #4E9567
square
#4E5895 #954E7C #958B4E #4E9567
split-complementary
#4E5895 #95674E #7C954E
monochromatic
#242945 #39406D #4E5895 #6D77B3 #969DC8
Accessibility & contrast
On white
6.66
#4E5895 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#4E5895 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5895
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5895 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5895 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415F97
Deuteranopia (green-blind)
#3B5A94
Tritanopia (blue-blind)
#34656F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4e5895; /* rgb */ color: rgb(78, 88, 149); /* oklch */ color: oklch(48.1% 0.099 275.0);
Tailwind
colors: {
custom: {
50: '#8487b4',
500: '#4e5895',
950: '#000000',
},
}SCSS
$custom: #4e5895; $custom-light: #8487b4; $custom-dark: #000000;
JSON
{
"hex": "#4e5895",
"rgb": {
"r": 78,
"g": 88,
"b": 149
},
"hsl": {
"h": 231.549,
"s": 31.278,
"l": 44.51
},
"oklch": {
"l": 0.48072,
"c": 0.0987,
"h": 275
},
"luminance": 0.10769
}Semantic roles & 50–950 ramp
primary
#4E5895
secondary
#B4AE8A
accent
#B960C7
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80