#4A52E5#4A52E5
#4A52E5 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.6% C 0.218 H 273.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4A52E5 |
|---|---|
| RGB | rgb(74, 82, 229) |
| HSL | hsl(237, 75%, 59%) |
| HSV | hsv(237, 68%, 90%) |
| CMYK | cmyk(67.7%, 64.2%, 0%, 10.2%) |
| CIE-LAB | lab(42.98, 43.06, -75.40) |
| CIE-LCH | lch(42.98, 86.83, 299.73°) |
| OKLab | oklab(52.6% 0.014 -0.2177) |
| OKLCH | oklch(52.6% 0.218 273.7) |
| XYZ | xyz(19.9795, 13.1457, 75.5980) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.89
Electric Blue
#0652FF
ΔE00 3.88
Azul
#1D5DEC
ΔE00 5.37
Purpleish Blue
#6140EF
ΔE00 5.45
Iris
#6258C4
ΔE00 5.46
Dark Periwinkle
#665FD1
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A52E5 #E5DD4A
analogous
#4AA0E5 #4A52E5 #904AE5
triadic
#4A52E5 #E54A52 #52E54A
tetradic
#4A52E5 #E54AA0 #E5DD4A #4AE590
square
#4A52E5 #E54AA0 #E5DD4A #4AE590
split-complementary
#4A52E5 #E5904A #A0E54A
monochromatic
#171E9E #1E28D3 #4A52E5 #8085ED #B5B8F4
Accessibility & contrast
On white
5.79
#4A52E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#4A52E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A52E5
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A52E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A52E5 | 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)
#006DEA
Deuteranopia (green-blind)
#005EE2
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4a52e5; /* rgb */ color: rgb(74, 82, 229); /* oklch */ color: oklch(52.6% 0.218 273.7);
Tailwind
colors: {
custom: {
50: '#8f83ee',
500: '#4a52e5',
950: '#000000',
},
}SCSS
$custom: #4a52e5; $custom-light: #8f83ee; $custom-dark: #000000;
JSON
{
"hex": "#4a52e5",
"rgb": {
"r": 74,
"g": 82,
"b": 229
},
"hsl": {
"h": 236.903,
"s": 74.879,
"l": 59.412
},
"oklch": {
"l": 0.52601,
"c": 0.21815,
"h": 273.7
},
"luminance": 0.13148
}Semantic roles & 50–950 ramp
primary
#4A52E5
secondary
#E4E0A7
accent
#E836F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85