#4E5794#4E5794
#4E5794 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.8% C 0.099 H 275.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5794 |
|---|---|
| RGB | rgb(78, 87, 148) |
| HSL | hsl(232, 31%, 44%) |
| HSV | hsv(232, 47%, 58%) |
| CMYK | cmyk(47.3%, 41.2%, 0%, 42%) |
| CIE-LAB | lab(38.85, 13.66, -34.73) |
| CIE-LCH | lch(38.85, 37.32, 291.46°) |
| OKLab | oklab(47.8% 0.0098 -0.0981) |
| OKLCH | oklch(47.8% 0.099 275.7) |
| XYZ | xyz(11.8937, 10.5736, 29.4254) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.59
Dusk
#4E5481
ΔE00 3.91
Dusky Blue
#475F94
ΔE00 4.14
Denim Blue
#3B5B92
ΔE00 5.33
Blueberry
#464196
ΔE00 7.47
Dusk Blue
#26538D
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5794 #948B4E
analogous
#4E7A94 #4E5794 #684E94
triadic
#4E5794 #944E57 #57944E
tetradic
#4E5794 #944E7A #948B4E #4E9468
square
#4E5794 #944E7A #948B4E #4E9468
split-complementary
#4E5794 #94684E #7A944E
monochromatic
#242844 #393F6C #4E5794 #6D76B2 #959CC7
Accessibility & contrast
On white
6.74
#4E5794 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#4E5794 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5794
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5794 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5794 | 1.00 | 6.74 | 3.11 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#405E96
Deuteranopia (green-blind)
#3A5993
Tritanopia (blue-blind)
#35646E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4e5794; /* rgb */ color: rgb(78, 87, 148); /* oklch */ color: oklch(47.8% 0.099 275.7);
Tailwind
colors: {
custom: {
50: '#8386b4',
500: '#4e5794',
950: '#000000',
},
}SCSS
$custom: #4e5794; $custom-light: #8386b4; $custom-dark: #000000;
JSON
{
"hex": "#4e5794",
"rgb": {
"r": 78,
"g": 87,
"b": 148
},
"hsl": {
"h": 232.286,
"s": 30.973,
"l": 44.314
},
"oklch": {
"l": 0.47797,
"c": 0.09859,
"h": 275.7
},
"luminance": 0.10574
}Semantic roles & 50–950 ramp
primary
#4E5794
secondary
#B4AE8A
accent
#BA61C7
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80