#4E5795#4E5795
#4E5795 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.9% C 0.100 H 275.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5795 |
|---|---|
| RGB | rgb(78, 87, 149) |
| HSL | hsl(232, 31%, 45%) |
| HSV | hsv(232, 48%, 58%) |
| CMYK | cmyk(47.7%, 41.6%, 0%, 41.6%) |
| CIE-LAB | lab(38.91, 13.97, -35.25) |
| CIE-LCH | lch(38.91, 37.92, 291.63°) |
| OKLab | oklab(47.86% 0.01 -0.0996) |
| OKLCH | oklch(47.86% 0.1 275.7) |
| XYZ | xyz(11.9732, 10.6054, 29.8441) |
| Luminance | 0.1061 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.69
Dusk
#4E5481
ΔE00 4.09
Dusky Blue
#475F94
ΔE00 4.14
Denim Blue
#3B5B92
ΔE00 5.31
Blueberry
#464196
ΔE00 7.41
Dusk Blue
#26538D
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5795 #958C4E
analogous
#4E7B95 #4E5795 #684E95
triadic
#4E5795 #954E57 #57954E
tetradic
#4E5795 #954E7B #958C4E #4E9568
square
#4E5795 #954E7B #958C4E #4E9568
split-complementary
#4E5795 #95684E #7B954E
monochromatic
#242845 #39406D #4E5795 #6D76B3 #969CC8
Accessibility & contrast
On white
6.73
#4E5795 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#4E5795 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5795
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5795 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5795 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5F97
Deuteranopia (green-blind)
#395994
Tritanopia (blue-blind)
#34646F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4e5795; /* rgb */ color: rgb(78, 87, 149); /* oklch */ color: oklch(47.9% 0.100 275.7);
Tailwind
colors: {
custom: {
50: '#8486b4',
500: '#4e5795',
950: '#000000',
},
}SCSS
$custom: #4e5795; $custom-light: #8486b4; $custom-dark: #000000;
JSON
{
"hex": "#4e5795",
"rgb": {
"r": 78,
"g": 87,
"b": 149
},
"hsl": {
"h": 232.394,
"s": 31.278,
"l": 44.51
},
"oklch": {
"l": 0.47857,
"c": 0.10012,
"h": 275.7
},
"luminance": 0.10606
}Semantic roles & 50–950 ramp
primary
#4E5795
secondary
#B4AF8A
accent
#BA60C7
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80