#4E4895#4E4895
#4E4895 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.122 H 283.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4895 |
|---|---|
| RGB | rgb(78, 72, 149) |
| HSL | hsl(245, 35%, 43%) |
| HSV | hsv(245, 52%, 58%) |
| CMYK | cmyk(47.7%, 51.7%, 0%, 41.6%) |
| CIE-LAB | lab(34.85, 23.61, -41.71) |
| CIE-LCH | lch(34.85, 47.93, 299.51°) |
| OKLab | oklab(44.78% 0.0292 -0.1187) |
| OKLCH | oklch(44.78% 0.122 283.8) |
| XYZ | xyz(10.8825, 8.4239, 29.4805) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.50
Darkslateblue
#483D8B
ΔE00 3.49
Twilight
#4E518B
ΔE00 4.20
Ocean Blue
#4F42B5
ΔE00 5.80
Dusk
#4E5481
ΔE00 6.78
Sapphire (survey)
#2138AB
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4895 #8F9548
analogous
#486895 #4E4895 #744895
triadic
#4E4895 #954E48 #48954E
tetradic
#4E4895 #954868 #8F9548 #489574
square
#4E4895 #954868 #8F9548 #489574
split-complementary
#4E4895 #957448 #689548
monochromatic
#232042 #38346C #4E4895 #6C65B5 #938FC9
Accessibility & contrast
On white
7.82
#4E4895 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#4E4895 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4895
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4895 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4895 | 1.00 | 7.82 | 2.68 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255498
Deuteranopia (green-blind)
#214F93
Tritanopia (blue-blind)
#365867
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #4e4895; /* rgb */ color: rgb(78, 72, 149); /* oklch */ color: oklch(44.8% 0.122 283.8);
Tailwind
colors: {
custom: {
50: '#847bb5',
500: '#4e4895',
950: '#000000',
},
}SCSS
$custom: #4e4895; $custom-light: #847bb5; $custom-dark: #000000;
JSON
{
"hex": "#4e4895",
"rgb": {
"r": 78,
"g": 72,
"b": 149
},
"hsl": {
"h": 244.675,
"s": 34.842,
"l": 43.333
},
"oklch": {
"l": 0.44781,
"c": 0.1222,
"h": 283.8
},
"luminance": 0.08424
}Semantic roles & 50–950 ramp
primary
#4E4895
secondary
#B1B484
accent
#CB5DC2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80