#4E46E1#4E46E1
#4E46E1 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.6% C 0.225 H 277.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #4E46E1 |
|---|---|
| RGB | rgb(78, 70, 225) |
| HSL | hsl(243, 72%, 58%) |
| HSV | hsv(243, 69%, 88%) |
| CMYK | cmyk(65.3%, 68.9%, 0%, 11.8%) |
| CIE-LAB | lab(40.30, 49.25, -77.51) |
| CIE-LCH | lch(40.30, 91.84, 302.43°) |
| OKLab | oklab(50.62% 0.0273 -0.2238) |
| OKLCH | oklch(50.62% 0.225 277) |
| XYZ | xyz(18.9182, 11.4346, 72.4297) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.30
Purpley Blue
#5F34E7
ΔE00 4.31
Blurple
#5539CC
ΔE00 4.44
Blue With A Hint Of Purple
#533CC6
ΔE00 4.53
Bluey Purple
#6241C7
ΔE00 4.56
Vibrant Blue
#0339F8
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E46E1 #D9E146
analogous
#468BE1 #4E46E1 #9C46E1
triadic
#4E46E1 #E14E46 #46E14E
tetradic
#4E46E1 #E1468B #D9E146 #46E19C
square
#4E46E1 #E1468B #D9E146 #46E19C
split-complementary
#4E46E1 #E19C46 #8BE146
monochromatic
#1F1895 #2921C9 #4E46E1 #807BEA #B3AFF2
Accessibility & contrast
On white
6.39
#4E46E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#4E46E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E46E1
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E46E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E46E1 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066E6
Deuteranopia (green-blind)
#0058DE
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4e46e1; /* rgb */ color: rgb(78, 70, 225); /* oklch */ color: oklch(50.6% 0.225 277.0);
Tailwind
colors: {
custom: {
50: '#917bec',
500: '#4e46e1',
950: '#000000',
},
}SCSS
$custom: #4e46e1; $custom-light: #917bec; $custom-dark: #000000;
JSON
{
"hex": "#4e46e1",
"rgb": {
"r": 78,
"g": 70,
"b": 225
},
"hsl": {
"h": 243.097,
"s": 72.093,
"l": 57.843
},
"oklch": {
"l": 0.50622,
"c": 0.22545,
"h": 277
},
"luminance": 0.11436
}Semantic roles & 50–950 ramp
primary
#4E46E1
secondary
#DDE0A2
accent
#EF39E5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84