#4E5AED#4E5AED
#4E5AED is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.9% C 0.218 H 273.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5AED |
|---|---|
| RGB | rgb(78, 90, 237) |
| HSL | hsl(235, 82%, 62%) |
| HSV | hsv(235, 67%, 93%) |
| CMYK | cmyk(67.1%, 62%, 0%, 7.1%) |
| CIE-LAB | lab(45.69, 41.44, -75.48) |
| CIE-LCH | lch(45.69, 86.10, 298.77°) |
| OKLab | oklab(54.85% 0.0121 -0.2178) |
| OKLCH | oklch(54.85% 0.218 273.2) |
| XYZ | xyz(22.0790, 15.0444, 81.8446) |
| Luminance | 0.1505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.64
Electric Blue
#0652FF
ΔE00 4.10
Azul
#1D5DEC
ΔE00 4.48
Dark Periwinkle
#665FD1
ΔE00 4.76
Slate Blue
#6A5ACD
ΔE00 5.68
Royal Blue
#4169E1
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5AED #EDE14E
analogous
#4EA9ED #4E5AED #924EED
triadic
#4E5AED #ED4E5A #5AED4E
tetradic
#4E5AED #ED4EA9 #EDE14E #4EED92
square
#4E5AED #ED4EA9 #EDE14E #4EED92
split-complementary
#4E5AED #ED924E #A9ED4E
monochromatic
#121EAF #1727E6 #4E5AED #868EF3 #BDC2F8
Accessibility & contrast
On white
5.24
#4E5AED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#4E5AED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5AED
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5AED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5AED | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#0065EA
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4e5aed; /* rgb */ color: rgb(78, 90, 237); /* oklch */ color: oklch(54.9% 0.218 273.2);
Tailwind
colors: {
custom: {
50: '#9289f4',
500: '#4e5aed',
950: '#000000',
},
}SCSS
$custom: #4e5aed; $custom-light: #9289f4; $custom-dark: #000000;
JSON
{
"hex": "#4e5aed",
"rgb": {
"r": 78,
"g": 90,
"b": 237
},
"hsl": {
"h": 235.472,
"s": 81.538,
"l": 61.765
},
"oklch": {
"l": 0.54852,
"c": 0.2181,
"h": 273.2
},
"luminance": 0.15046
}Semantic roles & 50–950 ramp
primary
#4E5AED
secondary
#E9E4AE
accent
#CE08DE
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0E0B17
muted
#7E7C85