#4751E1#4751E1
#4751E1 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.9% C 0.215 H 273.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4751E1 |
|---|---|
| RGB | rgb(71, 81, 225) |
| HSL | hsl(236, 72%, 58%) |
| HSV | hsv(236, 68%, 88%) |
| CMYK | cmyk(68.4%, 64%, 0%, 11.8%) |
| CIE-LAB | lab(42.24, 41.95, -74.35) |
| CIE-LCH | lch(42.24, 85.37, 299.43°) |
| OKLab | oklab(51.91% 0.0117 -0.2147) |
| OKLCH | oklch(51.91% 0.215 273.1) |
| XYZ | xyz(19.1270, 12.6589, 72.6550) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.86
Electric Blue
#0652FF
ΔE00 4.03
Blue (survey)
#0343DF
ΔE00 5.29
Azul
#1D5DEC
ΔE00 5.40
Iris
#6258C4
ΔE00 5.41
Purpleish Blue
#6140EF
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4751E1 #E1D747
analogous
#479EE1 #4751E1 #8A47E1
triadic
#4751E1 #E14751 #51E147
tetradic
#4751E1 #E1479E #E1D747 #47E18A
square
#4751E1 #E1479E #E1D747 #47E18A
split-complementary
#4751E1 #E18A47 #9EE147
monochromatic
#182095 #212CCA #4751E1 #7C83EA #B0B5F2
Accessibility & contrast
On white
5.95
#4751E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#4751E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4751E1
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4751E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4751E1 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4751e1; /* rgb */ color: rgb(71, 81, 225); /* oklch */ color: oklch(51.9% 0.215 273.1);
Tailwind
colors: {
custom: {
50: '#8d82ec',
500: '#4751e1',
950: '#000000',
},
}SCSS
$custom: #4751e1; $custom-light: #8d82ec; $custom-dark: #000000;
JSON
{
"hex": "#4751e1",
"rgb": {
"r": 71,
"g": 81,
"b": 225
},
"hsl": {
"h": 236.104,
"s": 71.963,
"l": 58.039
},
"oklch": {
"l": 0.51913,
"c": 0.215,
"h": 273.1
},
"luminance": 0.12661
}Semantic roles & 50–950 ramp
primary
#4751E1
secondary
#E1DDA3
accent
#E339EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84