#4E40D1#4E40D1
#4E40D1 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.3% C 0.212 H 279.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #4E40D1 |
|---|---|
| RGB | rgb(78, 64, 209) |
| HSL | hsl(246, 61%, 54%) |
| HSV | hsv(246, 69%, 82%) |
| CMYK | cmyk(62.7%, 69.4%, 0%, 18%) |
| CIE-LAB | lab(37.64, 47.60, -72.70) |
| CIE-LCH | lch(37.64, 86.90, 303.21°) |
| OKLab | oklab(48.28% 0.0339 -0.2097) |
| OKLCH | oklch(48.28% 0.212 279.2) |
| XYZ | xyz(16.4802, 9.8887, 61.3495) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 1.93
Blurple
#5539CC
ΔE00 2.09
Bluey Purple
#6241C7
ΔE00 3.14
Ocean Blue
#4F42B5
ΔE00 3.84
Purpley Blue
#5F34E7
ΔE00 4.16
Purpleish Blue
#6140EF
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E40D1 #C3D140
analogous
#407AD1 #4E40D1 #9640D1
triadic
#4E40D1 #D14E40 #40D14E
tetradic
#4E40D1 #D1407A #C3D140 #40D196
square
#4E40D1 #D1407A #C3D140 #40D196
split-complementary
#4E40D1 #D19640 #7AD140
monochromatic
#261D79 #3629AB #4E40D1 #7C71DD #A9A3E9
Accessibility & contrast
On white
7.05
#4E40D1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#4E40D1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E40D1
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E40D1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E40D1 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ED5
Deuteranopia (green-blind)
#0053CE
Tritanopia (blue-blind)
#006784
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4e40d1; /* rgb */ color: rgb(78, 64, 209); /* oklch */ color: oklch(48.3% 0.212 279.2);
Tailwind
colors: {
custom: {
50: '#8f76e0',
500: '#4e40d1',
950: '#000000',
},
}SCSS
$custom: #4e40d1; $custom-light: #8f76e0; $custom-dark: #000000;
JSON
{
"hex": "#4e40d1",
"rgb": {
"r": 78,
"g": 64,
"b": 209
},
"hsl": {
"h": 245.793,
"s": 61.181,
"l": 53.529
},
"oklch": {
"l": 0.48277,
"c": 0.21243,
"h": 279.2
},
"luminance": 0.0989
}Semantic roles & 50–950 ramp
primary
#4E40D1
secondary
#CFD597
accent
#E444D5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83