#4751E2#4751E2
#4751E2 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.0% C 0.216 H 273.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4751E2 |
|---|---|
| RGB | rgb(71, 81, 226) |
| HSL | hsl(236, 73%, 58%) |
| HSV | hsv(236, 69%, 89%) |
| CMYK | cmyk(68.6%, 64.2%, 0%, 11.4%) |
| CIE-LAB | lab(42.33, 42.28, -74.78) |
| CIE-LCH | lch(42.33, 85.91, 299.49°) |
| OKLab | oklab(52% 0.0117 -0.2159) |
| OKLCH | oklch(52% 0.216 273.1) |
| XYZ | xyz(19.2638, 12.7136, 73.3755) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.90
Electric Blue
#0652FF
ΔE00 3.95
Blue (survey)
#0343DF
ΔE00 5.33
Azul
#1D5DEC
ΔE00 5.39
Iris
#6258C4
ΔE00 5.48
Purpleish Blue
#6140EF
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4751E2 #E2D847
analogous
#479EE2 #4751E2 #8A47E2
triadic
#4751E2 #E24751 #51E247
tetradic
#4751E2 #E2479E #E2D847 #47E28A
square
#4751E2 #E2479E #E2D847 #47E28A
split-complementary
#4751E2 #E28A47 #9EE247
monochromatic
#182097 #202BCC #4751E2 #7C83EA #B1B5F3
Accessibility & contrast
On white
5.93
#4751E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#4751E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4751E2
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4751E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4751E2 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4751e2; /* rgb */ color: rgb(71, 81, 226); /* oklch */ color: oklch(52.0% 0.216 273.1);
Tailwind
colors: {
custom: {
50: '#8d82ec',
500: '#4751e2',
950: '#000000',
},
}SCSS
$custom: #4751e2; $custom-light: #8d82ec; $custom-dark: #000000;
JSON
{
"hex": "#4751e2",
"rgb": {
"r": 71,
"g": 81,
"b": 226
},
"hsl": {
"h": 236.129,
"s": 72.77,
"l": 58.235
},
"oklch": {
"l": 0.52,
"c": 0.21626,
"h": 273.1
},
"luminance": 0.12715
}Semantic roles & 50–950 ramp
primary
#4751E2
secondary
#E1DDA4
accent
#E438EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84