#4E4897#4E4897
#4E4897 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.125 H 283.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4897 |
|---|---|
| RGB | rgb(78, 72, 151) |
| HSL | hsl(245, 35%, 44%) |
| HSV | hsv(245, 52%, 59%) |
| CMYK | cmyk(48.3%, 52.3%, 0%, 40.8%) |
| CIE-LAB | lab(34.98, 24.24, -42.72) |
| CIE-LCH | lch(34.98, 49.12, 299.57°) |
| OKLab | oklab(44.92% 0.0294 -0.1216) |
| OKLCH | oklch(44.92% 0.125 283.6) |
| XYZ | xyz(11.0435, 8.4883, 30.3287) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.38
Darkslateblue
#483D8B
ΔE00 3.59
Twilight
#4E518B
ΔE00 4.43
Ocean Blue
#4F42B5
ΔE00 5.45
Dusk
#4E5481
ΔE00 7.03
Sapphire (survey)
#2138AB
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4897 #919748
analogous
#486997 #4E4897 #754897
triadic
#4E4897 #974E48 #48974E
tetradic
#4E4897 #974869 #919748 #489775
square
#4E4897 #974869 #919748 #489775
split-complementary
#4E4897 #977548 #699748
monochromatic
#232044 #39346E #4E4897 #6C66B6 #9490CA
Accessibility & contrast
On white
7.78
#4E4897 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#4E4897 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4897
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4897 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4897 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#1E5095
Tritanopia (blue-blind)
#355968
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #4e4897; /* rgb */ color: rgb(78, 72, 151); /* oklch */ color: oklch(44.9% 0.125 283.6);
Tailwind
colors: {
custom: {
50: '#857bb6',
500: '#4e4897',
950: '#000000',
},
}SCSS
$custom: #4e4897; $custom-light: #857bb6; $custom-dark: #000000;
JSON
{
"hex": "#4e4897",
"rgb": {
"r": 78,
"g": 72,
"b": 151
},
"hsl": {
"h": 244.557,
"s": 35.426,
"l": 43.725
},
"oklch": {
"l": 0.4492,
"c": 0.12511,
"h": 283.6
},
"luminance": 0.08489
}Semantic roles & 50–950 ramp
primary
#4E4897
secondary
#B2B685
accent
#CB5CC3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80