#4E4898#4E4898
#4E4898 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.127 H 283.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4898 |
|---|---|
| RGB | rgb(78, 72, 152) |
| HSL | hsl(245, 36%, 44%) |
| HSV | hsv(245, 53%, 60%) |
| CMYK | cmyk(48.7%, 52.6%, 0%, 40.4%) |
| CIE-LAB | lab(35.05, 24.56, -43.22) |
| CIE-LCH | lch(35.05, 49.71, 299.61°) |
| OKLab | oklab(44.99% 0.0295 -0.1231) |
| OKLCH | oklch(44.99% 0.127 283.5) |
| XYZ | xyz(11.1251, 8.5209, 30.7582) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.34
Darkslateblue
#483D8B
ΔE00 3.66
Twilight
#4E518B
ΔE00 4.55
Ocean Blue
#4F42B5
ΔE00 5.27
Dusk
#4E5481
ΔE00 7.15
Sapphire (survey)
#2138AB
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4898 #929848
analogous
#486A98 #4E4898 #764898
triadic
#4E4898 #984E48 #48984E
tetradic
#4E4898 #98486A #929848 #489876
square
#4E4898 #98486A #929848 #489876
split-complementary
#4E4898 #987648 #6A9848
monochromatic
#232145 #39346E #4E4898 #6C66B7 #9490CA
Accessibility & contrast
On white
7.77
#4E4898 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#4E4898 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4898
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4898 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4898 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21559B
Deuteranopia (green-blind)
#1D5096
Tritanopia (blue-blind)
#345969
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #4e4898; /* rgb */ color: rgb(78, 72, 152); /* oklch */ color: oklch(45.0% 0.127 283.5);
Tailwind
colors: {
custom: {
50: '#857bb7',
500: '#4e4898',
950: '#000000',
},
}SCSS
$custom: #4e4898; $custom-light: #857bb7; $custom-dark: #000000;
JSON
{
"hex": "#4e4898",
"rgb": {
"r": 78,
"g": 72,
"b": 152
},
"hsl": {
"h": 244.5,
"s": 35.714,
"l": 43.922
},
"oklch": {
"l": 0.4499,
"c": 0.12655,
"h": 283.5
},
"luminance": 0.08521
}Semantic roles & 50–950 ramp
primary
#4E4898
secondary
#B3B686
accent
#CC5CC3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80