#4E5AE7#4E5AE7
#4E5AE7 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.4% C 0.210 H 273.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5AE7 |
|---|---|
| RGB | rgb(78, 90, 231) |
| HSL | hsl(235, 76%, 61%) |
| HSV | hsv(235, 66%, 91%) |
| CMYK | cmyk(66.2%, 61%, 0%, 9.4%) |
| CIE-LAB | lab(45.22, 39.43, -72.87) |
| CIE-LCH | lch(45.22, 82.85, 298.42°) |
| OKLab | oklab(54.36% 0.0124 -0.2101) |
| OKLCH | oklch(54.36% 0.21 273.4) |
| XYZ | xyz(21.2170, 14.6996, 77.3050) |
| Luminance | 0.1470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.93
Electric Blue
#0652FF
ΔE00 4.28
Azul
#1D5DEC
ΔE00 4.32
Dark Periwinkle
#665FD1
ΔE00 4.40
Slate Blue
#6A5ACD
ΔE00 5.32
Iris
#6258C4
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5AE7 #E7DB4E
analogous
#4EA6E7 #4E5AE7 #8E4EE7
triadic
#4E5AE7 #E74E5A #5AE74E
tetradic
#4E5AE7 #E74EA6 #E7DB4E #4EE78E
square
#4E5AE7 #E74EA6 #E7DB4E #4EE78E
split-complementary
#4E5AE7 #E78E4E #A6E74E
monochromatic
#1621A4 #1E2CDA #4E5AE7 #848CEE #BABEF6
Accessibility & contrast
On white
5.33
#4E5AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#4E5AE7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5AE7
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5AE7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5AE7 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#0064E4
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4e5ae7; /* rgb */ color: rgb(78, 90, 231); /* oklch */ color: oklch(54.4% 0.210 273.4);
Tailwind
colors: {
custom: {
50: '#9188f0',
500: '#4e5ae7',
950: '#000000',
},
}SCSS
$custom: #4e5ae7; $custom-light: #9188f0; $custom-dark: #000000;
JSON
{
"hex": "#4e5ae7",
"rgb": {
"r": 78,
"g": 90,
"b": 231
},
"hsl": {
"h": 235.294,
"s": 76.119,
"l": 60.588
},
"oklch": {
"l": 0.54355,
"c": 0.21047,
"h": 273.4
},
"luminance": 0.14702
}Semantic roles & 50–950 ramp
primary
#4E5AE7
secondary
#E5E1AB
accent
#C80DD8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85