#4E56E7#4E56E7
#4E56E7 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.7% C 0.215 H 274.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #4E56E7 |
|---|---|
| RGB | rgb(78, 86, 231) |
| HSL | hsl(237, 76%, 61%) |
| HSV | hsv(237, 66%, 91%) |
| CMYK | cmyk(66.2%, 62.8%, 0%, 9.4%) |
| CIE-LAB | lab(44.29, 41.85, -74.38) |
| CIE-LCH | lch(44.29, 85.34, 299.36°) |
| OKLab | oklab(53.68% 0.0154 -0.2146) |
| OKLCH | oklch(53.68% 0.215 274.1) |
| XYZ | xyz(20.8887, 14.0429, 77.1955) |
| Luminance | 0.1404 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.72
Electric Blue
#0652FF
ΔE00 4.03
Dark Periwinkle
#665FD1
ΔE00 4.75
Azul
#1D5DEC
ΔE00 4.94
Slate Blue
#6A5ACD
ΔE00 5.22
Iris
#6258C4
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E56E7 #E7DF4E
analogous
#4EA2E7 #4E56E7 #934EE7
triadic
#4E56E7 #E74E56 #56E74E
tetradic
#4E56E7 #E74EA2 #E7DF4E #4EE793
square
#4E56E7 #E74EA2 #E7DF4E #4EE793
split-complementary
#4E56E7 #E7934E #A2E74E
monochromatic
#161EA4 #1E27DA #4E56E7 #8489EE #BABDF6
Accessibility & contrast
On white
5.51
#4E56E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#4E56E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E56E7
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E56E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E56E7 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #4e56e7; /* rgb */ color: rgb(78, 86, 231); /* oklch */ color: oklch(53.7% 0.215 274.1);
Tailwind
colors: {
custom: {
50: '#9186f0',
500: '#4e56e7',
950: '#000000',
},
}SCSS
$custom: #4e56e7; $custom-light: #9186f0; $custom-dark: #000000;
JSON
{
"hex": "#4e56e7",
"rgb": {
"r": 78,
"g": 86,
"b": 231
},
"hsl": {
"h": 236.863,
"s": 76.119,
"l": 60.588
},
"oklch": {
"l": 0.53675,
"c": 0.21513,
"h": 274.1
},
"luminance": 0.14045
}Semantic roles & 50–950 ramp
primary
#4E56E7
secondary
#E5E2AB
accent
#CE0DD8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85