#4752E4#4752E4
#4752E4 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.3% C 0.218 H 272.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4752E4 |
|---|---|
| RGB | rgb(71, 82, 228) |
| HSL | hsl(236, 74%, 59%) |
| HSV | hsv(236, 69%, 89%) |
| CMYK | cmyk(68.9%, 64%, 0%, 10.6%) |
| CIE-LAB | lab(42.72, 42.35, -75.27) |
| CIE-LCH | lch(42.72, 86.37, 299.37°) |
| OKLab | oklab(52.34% 0.0109 -0.2174) |
| OKLCH | oklch(52.34% 0.218 272.9) |
| XYZ | xyz(19.6147, 12.9737, 74.8542) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.77
Electric Blue
#0652FF
ΔE00 3.73
Azul
#1D5DEC
ΔE00 5.13
Iris
#6258C4
ΔE00 5.56
Blue (survey)
#0343DF
ΔE00 5.61
Dark Periwinkle
#665FD1
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4752E4 #E4D947
analogous
#47A0E4 #4752E4 #8A47E4
triadic
#4752E4 #E44752 #52E447
tetradic
#4752E4 #E447A0 #E4D947 #47E48A
square
#4752E4 #E447A0 #E4D947 #47E48A
split-complementary
#4752E4 #E48A47 #A0E447
monochromatic
#17209A #1E2BCF #4752E4 #7C84EC #B2B6F4
Accessibility & contrast
On white
5.84
#4752E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#4752E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4752E4
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4752E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4752E4 | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#005EE1
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4752e4; /* rgb */ color: rgb(71, 82, 228); /* oklch */ color: oklch(52.3% 0.218 272.9);
Tailwind
colors: {
custom: {
50: '#8e83ee',
500: '#4752e4',
950: '#000000',
},
}SCSS
$custom: #4752e4; $custom-light: #8e83ee; $custom-dark: #000000;
JSON
{
"hex": "#4752e4",
"rgb": {
"r": 71,
"g": 82,
"b": 228
},
"hsl": {
"h": 235.796,
"s": 74.408,
"l": 58.627
},
"oklch": {
"l": 0.5234,
"c": 0.21764,
"h": 272.9
},
"luminance": 0.12976
}Semantic roles & 50–950 ramp
primary
#4752E4
secondary
#E2DEA4
accent
#E437F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84