#4E4798#4E4798
#4E4798 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.128 H 283.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4798 |
|---|---|
| RGB | rgb(78, 71, 152) |
| HSL | hsl(245, 36%, 44%) |
| HSV | hsv(245, 53%, 60%) |
| CMYK | cmyk(48.7%, 53.3%, 0%, 40.4%) |
| CIE-LAB | lab(34.79, 25.20, -43.63) |
| CIE-LCH | lch(34.79, 50.39, 300.01°) |
| OKLab | oklab(44.8% 0.0307 -0.1243) |
| OKLCH | oklch(44.8% 0.128 283.9) |
| XYZ | xyz(11.0609, 8.3926, 30.7368) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.10
Darkslateblue
#483D8B
ΔE00 3.41
Twilight
#4E518B
ΔE00 4.84
Ocean Blue
#4F42B5
ΔE00 5.12
Dusk
#4E5481
ΔE00 7.41
Sapphire (survey)
#2138AB
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4798 #919847
analogous
#476898 #4E4798 #764798
triadic
#4E4798 #984E47 #47984E
tetradic
#4E4798 #984768 #919847 #479876
square
#4E4798 #984768 #919847 #479876
split-complementary
#4E4798 #987647 #689847
monochromatic
#232045 #39346E #4E4798 #6C65B7 #948FCB
Accessibility & contrast
On white
7.84
#4E4798 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#4E4798 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4798
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4798 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4798 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F549B
Deuteranopia (green-blind)
#1A4F96
Tritanopia (blue-blind)
#345968
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #4e4798; /* rgb */ color: rgb(78, 71, 152); /* oklch */ color: oklch(44.8% 0.128 283.9);
Tailwind
colors: {
custom: {
50: '#857ab7',
500: '#4e4798',
950: '#000000',
},
}SCSS
$custom: #4e4798; $custom-light: #857ab7; $custom-dark: #000000;
JSON
{
"hex": "#4e4798",
"rgb": {
"r": 78,
"g": 71,
"b": 152
},
"hsl": {
"h": 245.185,
"s": 36.323,
"l": 43.725
},
"oklch": {
"l": 0.44797,
"c": 0.12804,
"h": 283.9
},
"luminance": 0.08393
}Semantic roles & 50–950 ramp
primary
#4E4798
secondary
#B2B685
accent
#CC5BC3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80