#4E58E1#4E58E1
#4E58E1 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.5% C 0.205 H 274.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #4E58E1 |
|---|---|
| RGB | rgb(78, 88, 225) |
| HSL | hsl(236, 71%, 59%) |
| HSV | hsv(236, 65%, 88%) |
| CMYK | cmyk(65.3%, 60.9%, 0%, 11.8%) |
| CIE-LAB | lab(44.28, 38.64, -71.00) |
| CIE-LCH | lch(44.28, 80.84, 298.55°) |
| OKLab | oklab(53.52% 0.0142 -0.2046) |
| OKLCH | oklch(53.52% 0.205 274) |
| XYZ | xyz(20.2177, 14.0336, 72.8629) |
| Luminance | 0.1404 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.99
Dark Periwinkle
#665FD1
ΔE00 4.27
Electric Blue
#0652FF
ΔE00 4.45
Azul
#1D5DEC
ΔE00 4.60
Iris
#6258C4
ΔE00 4.86
Slate Blue
#6A5ACD
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E58E1 #E1D74E
analogous
#4EA2E1 #4E58E1 #8D4EE1
triadic
#4E58E1 #E14E58 #58E14E
tetradic
#4E58E1 #E14EA2 #E1D74E #4EE18D
square
#4E58E1 #E14EA2 #E1D74E #4EE18D
split-complementary
#4E58E1 #E18D4E #A2E14E
monochromatic
#1A239A #232FCF #4E58E1 #8289EA #B7BBF3
Accessibility & contrast
On white
5.52
#4E58E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#4E58E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E58E1
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E58E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E58E1 | 1.00 | 5.52 | 3.81 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE5
Deuteranopia (green-blind)
#0062DE
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #4e58e1; /* rgb */ color: rgb(78, 88, 225); /* oklch */ color: oklch(53.5% 0.205 274.0);
Tailwind
colors: {
custom: {
50: '#9087eb',
500: '#4e58e1',
950: '#000000',
},
}SCSS
$custom: #4e58e1; $custom-light: #9087eb; $custom-dark: #000000;
JSON
{
"hex": "#4e58e1",
"rgb": {
"r": 78,
"g": 88,
"b": 225
},
"hsl": {
"h": 235.918,
"s": 71.014,
"l": 59.412
},
"oklch": {
"l": 0.53517,
"c": 0.20514,
"h": 274
},
"luminance": 0.14035
}Semantic roles & 50–950 ramp
primary
#4E58E1
secondary
#E2DEA9
accent
#E23AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84