#4E4A97#4E4A97
#4E4A97 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.122 H 282.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4A97 |
|---|---|
| RGB | rgb(78, 74, 151) |
| HSL | hsl(243, 34%, 44%) |
| HSV | hsv(243, 51%, 59%) |
| CMYK | cmyk(48.3%, 51%, 0%, 40.8%) |
| CIE-LAB | lab(35.50, 22.96, -41.88) |
| CIE-LCH | lch(35.50, 47.77, 298.73°) |
| OKLab | oklab(45.31% 0.0269 -0.1191) |
| OKLCH | oklch(45.31% 0.122 282.7) |
| XYZ | xyz(11.1749, 8.7511, 30.3725) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.93
Twilight
#4E518B
ΔE00 3.85
Darkslateblue
#483D8B
ΔE00 4.17
Ocean Blue
#4F42B5
ΔE00 5.79
Dusk
#4E5481
ΔE00 6.50
Sapphire (survey)
#2138AB
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4A97 #93974A
analogous
#4A6D97 #4E4A97 #754A97
triadic
#4E4A97 #974E4A #4A974E
tetradic
#4E4A97 #974A6D #93974A #4A9775
square
#4E4A97 #974A6D #93974A #4A9775
split-complementary
#4E4A97 #97754A #6D974A
monochromatic
#242245 #39366E #4E4A97 #6D69B5 #9592CA
Accessibility & contrast
On white
7.64
#4E4A97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#4E4A97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4A97
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4A97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4A97 | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27569A
Deuteranopia (green-blind)
#225195
Tritanopia (blue-blind)
#355B69
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #4e4a97; /* rgb */ color: rgb(78, 74, 151); /* oklch */ color: oklch(45.3% 0.122 282.7);
Tailwind
colors: {
custom: {
50: '#847cb6',
500: '#4e4a97',
950: '#000000',
},
}SCSS
$custom: #4e4a97; $custom-light: #847cb6; $custom-dark: #000000;
JSON
{
"hex": "#4e4a97",
"rgb": {
"r": 78,
"g": 74,
"b": 151
},
"hsl": {
"h": 243.117,
"s": 34.222,
"l": 44.118
},
"oklch": {
"l": 0.4531,
"c": 0.12214,
"h": 282.7
},
"luminance": 0.08752
}Semantic roles & 50–950 ramp
primary
#4E4A97
secondary
#B3B687
accent
#CA5DC5
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0911
muted
#7C7B80