#4E52E2#4E52E2
#4E52E2 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.6% C 0.213 H 275.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4E52E2 |
|---|---|
| RGB | rgb(78, 82, 226) |
| HSL | hsl(238, 72%, 60%) |
| HSV | hsv(238, 65%, 89%) |
| CMYK | cmyk(65.5%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(42.98, 42.59, -73.70) |
| CIE-LCH | lch(42.98, 85.12, 300.02°) |
| OKLab | oklab(52.59% 0.0187 -0.2126) |
| OKLCH | oklch(52.59% 0.213 275) |
| XYZ | xyz(19.8821, 13.1435, 73.4259) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.86
Electric Blue
#0652FF
ΔE00 4.40
Iris
#6258C4
ΔE00 4.99
Slate Blue
#6A5ACD
ΔE00 5.17
Dark Periwinkle
#665FD1
ΔE00 5.17
Purpleish Blue
#6140EF
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E52E2 #E2DE4E
analogous
#4E9CE2 #4E52E2 #944EE2
triadic
#4E52E2 #E24E52 #52E24E
tetradic
#4E52E2 #E24E9C #E2DE4E #4EE294
square
#4E52E2 #E24E9C #E2DE4E #4EE294
split-complementary
#4E52E2 #E2944E #9CE24E
monochromatic
#1A1D9C #2227D1 #4E52E2 #8385EB #B7B9F3
Accessibility & contrast
On white
5.79
#4E52E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#4E52E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E52E2
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E52E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E52E2 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#005FDF
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4e52e2; /* rgb */ color: rgb(78, 82, 226); /* oklch */ color: oklch(52.6% 0.213 275.0);
Tailwind
colors: {
custom: {
50: '#9083ec',
500: '#4e52e2',
950: '#000000',
},
}SCSS
$custom: #4e52e2; $custom-light: #9083ec; $custom-dark: #000000;
JSON
{
"hex": "#4e52e2",
"rgb": {
"r": 78,
"g": 82,
"b": 226
},
"hsl": {
"h": 238.378,
"s": 71.845,
"l": 59.608
},
"oklch": {
"l": 0.52586,
"c": 0.21342,
"h": 275
},
"luminance": 0.13145
}Semantic roles & 50–950 ramp
primary
#4E52E2
secondary
#E3E1A9
accent
#EA39EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84