#4E5397#4E5397
#4E5397 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 47.1% C 0.109 H 278.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5397 |
|---|---|
| RGB | rgb(78, 83, 151) |
| HSL | hsl(236, 32%, 45%) |
| HSV | hsv(236, 48%, 59%) |
| CMYK | cmyk(48.3%, 45%, 0%, 40.8%) |
| CIE-LAB | lab(37.91, 17.18, -38.03) |
| CIE-LCH | lch(37.91, 41.73, 294.31°) |
| OKLab | oklab(47.14% 0.0155 -0.1078) |
| OKLCH | oklch(47.14% 0.109 278.2) |
| XYZ | xyz(11.8193, 10.0399, 30.5873) |
| Luminance | 0.1004 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.34
Dusk
#4E5481
ΔE00 4.69
Dusky Blue
#475F94
ΔE00 5.51
Blueberry
#464196
ΔE00 5.89
Denim Blue
#3B5B92
ΔE00 6.33
Darkslateblue
#483D8B
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5397 #97924E
analogous
#4E7897 #4E5397 #6D4E97
triadic
#4E5397 #974E53 #53974E
tetradic
#4E5397 #974E78 #97924E #4E976D
square
#4E5397 #974E78 #97924E #4E976D
split-complementary
#4E5397 #976D4E #78974E
monochromatic
#242746 #393D6F #4E5397 #6E73B4 #969AC9
Accessibility & contrast
On white
6.98
#4E5397 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#4E5397 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5397
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5397 | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#325795
Tritanopia (blue-blind)
#33616D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4e5397; /* rgb */ color: rgb(78, 83, 151); /* oklch */ color: oklch(47.1% 0.109 278.2);
Tailwind
colors: {
custom: {
50: '#8483b6',
500: '#4e5397',
950: '#000000',
},
}SCSS
$custom: #4e5397; $custom-light: #8483b6; $custom-dark: #000000;
JSON
{
"hex": "#4e5397",
"rgb": {
"r": 78,
"g": 83,
"b": 151
},
"hsl": {
"h": 235.89,
"s": 31.878,
"l": 44.902
},
"oklch": {
"l": 0.47136,
"c": 0.10889,
"h": 278.2
},
"luminance": 0.10041
}Semantic roles & 50–950 ramp
primary
#4E5397
secondary
#B6B38B
accent
#C160C8
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0A11
muted
#7C7C80