#4751E6#4751E6
#4751E6 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.3% C 0.221 H 272.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4751E6 |
|---|---|
| RGB | rgb(71, 81, 230) |
| HSL | hsl(236, 76%, 59%) |
| HSV | hsv(236, 69%, 90%) |
| CMYK | cmyk(69.1%, 64.8%, 0%, 9.8%) |
| CIE-LAB | lab(42.67, 43.62, -76.50) |
| CIE-LCH | lch(42.67, 88.06, 299.70°) |
| OKLab | oklab(52.35% 0.0114 -0.221) |
| OKLCH | oklch(52.35% 0.221 272.9) |
| XYZ | xyz(19.8191, 12.9357, 76.2999) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.12
Electric Blue
#0652FF
ΔE00 3.66
Azul
#1D5DEC
ΔE00 5.35
Purpleish Blue
#6140EF
ΔE00 5.40
Blue (survey)
#0343DF
ΔE00 5.53
Iris
#6258C4
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4751E6 #E6DC47
analogous
#47A1E6 #4751E6 #8C47E6
triadic
#4751E6 #E64751 #51E647
tetradic
#4751E6 #E647A1 #E6DC47 #47E68C
square
#4751E6 #E647A1 #E6DC47 #47E68C
split-complementary
#4751E6 #E68C47 #A1E647
monochromatic
#151E9D #1D28D3 #4751E6 #7D84ED #B3B7F5
Accessibility & contrast
On white
5.85
#4751E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#4751E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4751E6
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4751E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4751E6 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#005DE3
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4751e6; /* rgb */ color: rgb(71, 81, 230); /* oklch */ color: oklch(52.3% 0.221 272.9);
Tailwind
colors: {
custom: {
50: '#8e82ef',
500: '#4751e6',
950: '#000000',
},
}SCSS
$custom: #4751e6; $custom-light: #8e82ef; $custom-dark: #000000;
JSON
{
"hex": "#4751e6",
"rgb": {
"r": 71,
"g": 81,
"b": 230
},
"hsl": {
"h": 236.226,
"s": 76.077,
"l": 59.02
},
"oklch": {
"l": 0.5235,
"c": 0.22126,
"h": 272.9
},
"luminance": 0.12938
}Semantic roles & 50–950 ramp
primary
#4751E6
secondary
#E4E0A5
accent
#E735F3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85