#4E4796#4E4796
#4E4796 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.125 H 284.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4796 |
|---|---|
| RGB | rgb(78, 71, 150) |
| HSL | hsl(245, 36%, 43%) |
| HSV | hsv(245, 53%, 59%) |
| CMYK | cmyk(48%, 52.7%, 0%, 41.2%) |
| CIE-LAB | lab(34.66, 24.56, -42.63) |
| CIE-LCH | lch(34.66, 49.20, 299.95°) |
| OKLab | oklab(44.66% 0.0305 -0.1214) |
| OKLCH | oklch(44.66% 0.125 284.1) |
| XYZ | xyz(10.8985, 8.3277, 29.8814) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.18
Darkslateblue
#483D8B
ΔE00 3.26
Twilight
#4E518B
ΔE00 4.61
Ocean Blue
#4F42B5
ΔE00 5.47
Dusk
#4E5481
ΔE00 7.17
Sapphire (survey)
#2138AB
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4796 #8F9647
analogous
#476796 #4E4796 #754796
triadic
#4E4796 #964E47 #47964E
tetradic
#4E4796 #964767 #8F9647 #479675
square
#4E4796 #964767 #8F9647 #479675
split-complementary
#4E4796 #967547 #679647
monochromatic
#232043 #38336C #4E4796 #6C64B6 #938EC9
Accessibility & contrast
On white
7.88
#4E4796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#4E4796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4796
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4796 | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215499
Deuteranopia (green-blind)
#1E4F94
Tritanopia (blue-blind)
#365867
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4e4796; /* rgb */ color: rgb(78, 71, 150); /* oklch */ color: oklch(44.7% 0.125 284.1);
Tailwind
colors: {
custom: {
50: '#847ab5',
500: '#4e4796',
950: '#000000',
},
}SCSS
$custom: #4e4796; $custom-light: #847ab5; $custom-dark: #000000;
JSON
{
"hex": "#4e4796",
"rgb": {
"r": 78,
"g": 71,
"b": 150
},
"hsl": {
"h": 245.316,
"s": 35.747,
"l": 43.333
},
"oklch": {
"l": 0.44657,
"c": 0.12514,
"h": 284.1
},
"luminance": 0.08328
}Semantic roles & 50–950 ramp
primary
#4E4796
secondary
#B1B584
accent
#CC5CC2
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80