#4E4296#4E4296
#4E4296 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.133 H 286.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4296 |
|---|---|
| RGB | rgb(78, 66, 150) |
| HSL | hsl(249, 39%, 42%) |
| HSV | hsv(249, 56%, 59%) |
| CMYK | cmyk(48%, 56%, 0%, 41.2%) |
| CIE-LAB | lab(33.39, 27.74, -44.67) |
| CIE-LCH | lch(33.39, 52.59, 301.84°) |
| OKLab | oklab(43.71% 0.0367 -0.1274) |
| OKLCH | oklch(43.71% 0.133 286.1) |
| XYZ | xyz(10.5935, 7.7177, 29.7797) |
| Luminance | 0.0772 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.59
Darkslateblue
#483D8B
ΔE00 2.23
Ocean Blue
#4F42B5
ΔE00 5.00
Twilight
#4E518B
ΔE00 6.15
Rebeccapurple
#663399
ΔE00 6.96
Sapphire (survey)
#2138AB
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4296 #8A9642
analogous
#426096 #4E4296 #784296
triadic
#4E4296 #964E42 #42964E
tetradic
#4E4296 #964260 #8A9642 #429678
square
#4E4296 #964260 #8A9642 #429678
split-complementary
#4E4296 #967842 #609642
monochromatic
#221D41 #382F6C #4E4296 #6A5DB8 #9188CB
Accessibility & contrast
On white
8.26
#4E4296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#4E4296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4296
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4296 | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#135199
Deuteranopia (green-blind)
#104C94
Tritanopia (blue-blind)
#365565
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #4e4296; /* rgb */ color: rgb(78, 66, 150); /* oklch */ color: oklch(43.7% 0.133 286.1);
Tailwind
colors: {
custom: {
50: '#8576b5',
500: '#4e4296',
950: '#000000',
},
}SCSS
$custom: #4e4296; $custom-light: #8576b5; $custom-dark: #000000;
JSON
{
"hex": "#4e4296",
"rgb": {
"r": 78,
"g": 66,
"b": 150
},
"hsl": {
"h": 248.571,
"s": 38.889,
"l": 42.353
},
"oklch": {
"l": 0.43711,
"c": 0.13256,
"h": 286.1
},
"luminance": 0.07718
}Semantic roles & 50–950 ramp
primary
#4E4296
secondary
#AEB57E
accent
#CF59BE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80