#4E51E3#4E51E3
#4E51E3 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.5% C 0.216 H 275.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4E51E3 |
|---|---|
| RGB | rgb(78, 81, 227) |
| HSL | hsl(239, 73%, 60%) |
| HSV | hsv(239, 66%, 89%) |
| CMYK | cmyk(65.6%, 64.3%, 0%, 11%) |
| CIE-LAB | lab(42.84, 43.51, -74.50) |
| CIE-LCH | lch(42.84, 86.28, 300.29°) |
| OKLab | oklab(52.51% 0.0194 -0.2149) |
| OKLCH | oklch(52.51% 0.216 275.1) |
| XYZ | xyz(19.9449, 13.0489, 74.1258) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.16
Electric Blue
#0652FF
ΔE00 4.41
Purpleish Blue
#6140EF
ΔE00 5.00
Iris
#6258C4
ΔE00 5.14
Slate Blue
#6A5ACD
ΔE00 5.30
Dark Periwinkle
#665FD1
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E51E3 #E3E04E
analogous
#4E9CE3 #4E51E3 #964EE3
triadic
#4E51E3 #E34E51 #51E34E
tetradic
#4E51E3 #E34E9C #E3E04E #4EE396
square
#4E51E3 #E34E9C #E3E04E #4EE396
split-complementary
#4E51E3 #E3964E #9CE34E
monochromatic
#191C9E #2125D3 #4E51E3 #8385EB #B8B9F4
Accessibility & contrast
On white
5.82
#4E51E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#4E51E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E51E3
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E51E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E51E3 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#005EE0
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4e51e3; /* rgb */ color: rgb(78, 81, 227); /* oklch */ color: oklch(52.5% 0.216 275.1);
Tailwind
colors: {
custom: {
50: '#9182ed',
500: '#4e51e3',
950: '#000000',
},
}SCSS
$custom: #4e51e3; $custom-light: #9182ed; $custom-dark: #000000;
JSON
{
"hex": "#4e51e3",
"rgb": {
"r": 78,
"g": 81,
"b": 227
},
"hsl": {
"h": 238.792,
"s": 72.683,
"l": 59.804
},
"oklch": {
"l": 0.52508,
"c": 0.21582,
"h": 275.1
},
"luminance": 0.13051
}Semantic roles & 50–950 ramp
primary
#4E51E3
secondary
#E3E2AA
accent
#EC38EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84