#4E54E3#4E54E3
#4E54E3 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.0% C 0.212 H 274.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #4E54E3 |
|---|---|
| RGB | rgb(78, 84, 227) |
| HSL | hsl(238, 73%, 60%) |
| HSV | hsv(238, 66%, 89%) |
| CMYK | cmyk(65.6%, 63%, 0%, 11%) |
| CIE-LAB | lab(43.51, 41.72, -73.39) |
| CIE-LCH | lch(43.51, 84.42, 299.62°) |
| OKLab | oklab(53% 0.0171 -0.2117) |
| OKLCH | oklch(53% 0.212 274.6) |
| XYZ | xyz(20.1728, 13.5046, 74.2017) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.51
Electric Blue
#0652FF
ΔE00 4.25
Dark Periwinkle
#665FD1
ΔE00 4.87
Iris
#6258C4
ΔE00 4.99
Slate Blue
#6A5ACD
ΔE00 5.08
Azul
#1D5DEC
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E54E3 #E3DD4E
analogous
#4E9EE3 #4E54E3 #934EE3
triadic
#4E54E3 #E34E54 #54E34E
tetradic
#4E54E3 #E34E9E #E3DD4E #4EE393
square
#4E54E3 #E34E9E #E3DD4E #4EE393
split-complementary
#4E54E3 #E3934E #9EE34E
monochromatic
#191E9E #2128D3 #4E54E3 #8387EB #B8BAF4
Accessibility & contrast
On white
5.67
#4E54E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#4E54E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E54E3
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E54E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E54E3 | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#0060E0
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4e54e3; /* rgb */ color: rgb(78, 84, 227); /* oklch */ color: oklch(53.0% 0.212 274.6);
Tailwind
colors: {
custom: {
50: '#9084ed',
500: '#4e54e3',
950: '#000000',
},
}SCSS
$custom: #4e54e3; $custom-light: #9084ed; $custom-dark: #000000;
JSON
{
"hex": "#4e54e3",
"rgb": {
"r": 78,
"g": 84,
"b": 227
},
"hsl": {
"h": 237.584,
"s": 72.683,
"l": 59.804
},
"oklch": {
"l": 0.53003,
"c": 0.21237,
"h": 274.6
},
"luminance": 0.13506
}Semantic roles & 50–950 ramp
primary
#4E54E3
secondary
#E3E1AA
accent
#E838EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84