#4E5398#4E5398
#4E5398 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.2% C 0.110 H 278.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5398 |
|---|---|
| RGB | rgb(78, 83, 152) |
| HSL | hsl(236, 32%, 45%) |
| HSV | hsv(236, 49%, 60%) |
| CMYK | cmyk(48.7%, 45.4%, 0%, 40.4%) |
| CIE-LAB | lab(37.97, 17.50, -38.54) |
| CIE-LCH | lch(37.97, 42.33, 294.42°) |
| OKLab | oklab(47.2% 0.0156 -0.1093) |
| OKLCH | oklch(47.2% 0.11 278.1) |
| XYZ | xyz(11.9009, 10.0726, 31.0168) |
| Luminance | 0.1007 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.52
Dusk
#4E5481
ΔE00 4.87
Dusky Blue
#475F94
ΔE00 5.53
Blueberry
#464196
ΔE00 5.85
Denim Blue
#3B5B92
ΔE00 6.33
Darkslateblue
#483D8B
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5398 #98934E
analogous
#4E7898 #4E5398 #6E4E98
triadic
#4E5398 #984E53 #53984E
tetradic
#4E5398 #984E78 #98934E #4E986E
square
#4E5398 #984E78 #98934E #4E986E
split-complementary
#4E5398 #986E4E #78984E
monochromatic
#242747 #393D70 #4E5398 #6E73B5 #979ACA
Accessibility & contrast
On white
6.97
#4E5398 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#4E5398 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5398
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5398 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5398 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375C9B
Deuteranopia (green-blind)
#315796
Tritanopia (blue-blind)
#33626E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4e5398; /* rgb */ color: rgb(78, 83, 152); /* oklch */ color: oklch(47.2% 0.110 278.1);
Tailwind
colors: {
custom: {
50: '#8483b7',
500: '#4e5398',
950: '#000000',
},
}SCSS
$custom: #4e5398; $custom-light: #8483b7; $custom-dark: #000000;
JSON
{
"hex": "#4e5398",
"rgb": {
"r": 78,
"g": 83,
"b": 152
},
"hsl": {
"h": 235.946,
"s": 32.174,
"l": 45.098
},
"oklch": {
"l": 0.47199,
"c": 0.11039,
"h": 278.1
},
"luminance": 0.10073
}Semantic roles & 50–950 ramp
primary
#4E5398
secondary
#B6B38C
accent
#C15FC8
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0A11
muted
#7C7C80