#4E5797#4E5797
#4E5797 is a mid, moderate blue. Relative luminance 0.107; OKLCH L 48.0% C 0.103 H 275.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5797 |
|---|---|
| RGB | rgb(78, 87, 151) |
| HSL | hsl(233, 32%, 45%) |
| HSV | hsv(233, 48%, 59%) |
| CMYK | cmyk(48.3%, 42.4%, 0%, 40.8%) |
| CIE-LAB | lab(39.02, 14.62, -36.28) |
| CIE-LCH | lch(39.02, 39.11, 291.94°) |
| OKLab | oklab(47.98% 0.0104 -0.1026) |
| OKLCH | oklch(47.98% 0.103 275.8) |
| XYZ | xyz(12.1343, 10.6698, 30.6922) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.92
Dusky Blue
#475F94
ΔE00 4.16
Dusk
#4E5481
ΔE00 4.45
Denim Blue
#3B5B92
ΔE00 5.30
Blueberry
#464196
ΔE00 7.31
Dusk Blue
#26538D
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5797 #978E4E
analogous
#4E7B97 #4E5797 #6A4E97
triadic
#4E5797 #974E57 #57974E
tetradic
#4E5797 #974E7B #978E4E #4E976A
square
#4E5797 #974E7B #978E4E #4E976A
split-complementary
#4E5797 #976A4E #7B974E
monochromatic
#242846 #39406F #4E5797 #6E77B4 #969DC9
Accessibility & contrast
On white
6.70
#4E5797 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#4E5797 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5797
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5797 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5797 | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5F99
Deuteranopia (green-blind)
#385996
Tritanopia (blue-blind)
#33646F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4e5797; /* rgb */ color: rgb(78, 87, 151); /* oklch */ color: oklch(48.0% 0.103 275.8);
Tailwind
colors: {
custom: {
50: '#8486b6',
500: '#4e5797',
950: '#000000',
},
}SCSS
$custom: #4e5797; $custom-light: #8486b6; $custom-dark: #000000;
JSON
{
"hex": "#4e5797",
"rgb": {
"r": 78,
"g": 87,
"b": 151
},
"hsl": {
"h": 232.603,
"s": 31.878,
"l": 44.902
},
"oklch": {
"l": 0.47978,
"c": 0.10314,
"h": 275.8
},
"luminance": 0.1067
}Semantic roles & 50–950 ramp
primary
#4E5797
secondary
#B6B08B
accent
#BB60C8
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80