#4E4795#4E4795
#4E4795 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.124 H 284.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4795 |
|---|---|
| RGB | rgb(78, 71, 149) |
| HSL | hsl(245, 35%, 43%) |
| HSV | hsv(245, 52%, 58%) |
| CMYK | cmyk(47.7%, 52.3%, 0%, 41.6%) |
| CIE-LAB | lab(34.59, 24.25, -42.13) |
| CIE-LCH | lch(34.59, 48.61, 299.92°) |
| OKLab | oklab(44.59% 0.0305 -0.1199) |
| OKLCH | oklch(44.59% 0.124 284.3) |
| XYZ | xyz(10.8183, 8.2956, 29.4591) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.25
Darkslateblue
#483D8B
ΔE00 3.20
Twilight
#4E518B
ΔE00 4.51
Ocean Blue
#4F42B5
ΔE00 5.65
Dusk
#4E5481
ΔE00 7.05
Sapphire (survey)
#2138AB
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4795 #8E9547
analogous
#476795 #4E4795 #754795
triadic
#4E4795 #954E47 #47954E
tetradic
#4E4795 #954767 #8E9547 #479575
square
#4E4795 #954767 #8E9547 #479575
split-complementary
#4E4795 #957547 #679547
monochromatic
#231F42 #38336C #4E4795 #6B64B5 #938DC9
Accessibility & contrast
On white
7.90
#4E4795 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#4E4795 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4795
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4795 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4795 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225498
Deuteranopia (green-blind)
#1F4F93
Tritanopia (blue-blind)
#365867
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4e4795; /* rgb */ color: rgb(78, 71, 149); /* oklch */ color: oklch(44.6% 0.124 284.3);
Tailwind
colors: {
custom: {
50: '#847ab5',
500: '#4e4795',
950: '#000000',
},
}SCSS
$custom: #4e4795; $custom-light: #847ab5; $custom-dark: #000000;
JSON
{
"hex": "#4e4795",
"rgb": {
"r": 78,
"g": 71,
"b": 149
},
"hsl": {
"h": 245.385,
"s": 35.455,
"l": 43.137
},
"oklch": {
"l": 0.44587,
"c": 0.12369,
"h": 284.3
},
"luminance": 0.08296
}Semantic roles & 50–950 ramp
primary
#4E4795
secondary
#B0B483
accent
#CB5CC2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80