#4752E6#4752E6
#4752E6 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.5% C 0.220 H 272.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4752E6 |
|---|---|
| RGB | rgb(71, 82, 230) |
| HSL | hsl(236, 76%, 59%) |
| HSV | hsv(236, 69%, 90%) |
| CMYK | cmyk(69.1%, 64.3%, 0%, 9.8%) |
| CIE-LAB | lab(42.89, 43.03, -76.13) |
| CIE-LCH | lch(42.89, 87.44, 299.47°) |
| OKLab | oklab(52.52% 0.0107 -0.2199) |
| OKLCH | oklch(52.52% 0.22 272.8) |
| XYZ | xyz(19.8940, 13.0854, 76.3249) |
| Luminance | 0.1309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.91
Electric Blue
#0652FF
ΔE00 3.59
Azul
#1D5DEC
ΔE00 5.12
Purpleish Blue
#6140EF
ΔE00 5.63
Iris
#6258C4
ΔE00 5.70
Blue (survey)
#0343DF
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4752E6 #E6DB47
analogous
#47A2E6 #4752E6 #8C47E6
triadic
#4752E6 #E64752 #52E647
tetradic
#4752E6 #E647A2 #E6DB47 #47E68C
square
#4752E6 #E647A2 #E6DB47 #47E68C
split-complementary
#4752E6 #E68C47 #A2E647
monochromatic
#151F9D #1D29D3 #4752E6 #7D85ED #B3B7F5
Accessibility & contrast
On white
5.81
#4752E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#4752E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4752E6
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4752E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4752E6 | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#005EE3
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4752e6; /* rgb */ color: rgb(71, 82, 230); /* oklch */ color: oklch(52.5% 0.220 272.8);
Tailwind
colors: {
custom: {
50: '#8e83ef',
500: '#4752e6',
950: '#000000',
},
}SCSS
$custom: #4752e6; $custom-light: #8e83ef; $custom-dark: #000000;
JSON
{
"hex": "#4752e6",
"rgb": {
"r": 71,
"g": 82,
"b": 230
},
"hsl": {
"h": 235.849,
"s": 76.077,
"l": 59.02
},
"oklch": {
"l": 0.52515,
"c": 0.22014,
"h": 272.8
},
"luminance": 0.13087
}Semantic roles & 50–950 ramp
primary
#4752E6
secondary
#E4DFA5
accent
#E635F3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85