#4E54E7#4E54E7
#4E54E7 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.3% C 0.217 H 274.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #4E54E7 |
|---|---|
| RGB | rgb(78, 84, 231) |
| HSL | hsl(238, 76%, 61%) |
| HSV | hsv(238, 66%, 91%) |
| CMYK | cmyk(66.2%, 63.6%, 0%, 9.4%) |
| CIE-LAB | lab(43.84, 43.04, -75.12) |
| CIE-LCH | lch(43.84, 86.58, 299.81°) |
| OKLab | oklab(53.34% 0.0169 -0.2168) |
| OKLCH | oklch(53.34% 0.217 274.4) |
| XYZ | xyz(20.7312, 13.7280, 77.1431) |
| Luminance | 0.1373 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.90
Electric Blue
#0652FF
ΔE00 4.03
Dark Periwinkle
#665FD1
ΔE00 5.02
Slate Blue
#6A5ACD
ΔE00 5.28
Azul
#1D5DEC
ΔE00 5.32
Iris
#6258C4
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E54E7 #E7E14E
analogous
#4EA0E7 #4E54E7 #944EE7
triadic
#4E54E7 #E74E54 #54E74E
tetradic
#4E54E7 #E74EA0 #E7E14E #4EE794
square
#4E54E7 #E74EA0 #E7E14E #4EE794
split-complementary
#4E54E7 #E7944E #A0E74E
monochromatic
#161CA4 #1E25DA #4E54E7 #8488EE #BABCF6
Accessibility & contrast
On white
5.61
#4E54E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#4E54E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E54E7
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E54E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E54E7 | 1.00 | 5.61 | 3.75 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#0061E4
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4e54e7; /* rgb */ color: rgb(78, 84, 231); /* oklch */ color: oklch(53.3% 0.217 274.4);
Tailwind
colors: {
custom: {
50: '#9184f0',
500: '#4e54e7',
950: '#000000',
},
}SCSS
$custom: #4e54e7; $custom-light: #9184f0; $custom-dark: #000000;
JSON
{
"hex": "#4e54e7",
"rgb": {
"r": 78,
"g": 84,
"b": 231
},
"hsl": {
"h": 237.647,
"s": 76.119,
"l": 60.588
},
"oklch": {
"l": 0.53343,
"c": 0.21741,
"h": 274.4
},
"luminance": 0.1373
}Semantic roles & 50–950 ramp
primary
#4E54E7
secondary
#E5E3AB
accent
#D00DD8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85