#4754E1#4754E1
#4754E1 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.4% C 0.212 H 272.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #4754E1 |
|---|---|
| RGB | rgb(71, 84, 225) |
| HSL | hsl(235, 72%, 58%) |
| HSV | hsv(235, 68%, 88%) |
| CMYK | cmyk(68.4%, 62.7%, 0%, 11.8%) |
| CIE-LAB | lab(42.94, 40.13, -73.22) |
| CIE-LCH | lch(42.94, 83.49, 298.73°) |
| OKLab | oklab(52.42% 0.0096 -0.2113) |
| OKLCH | oklch(52.42% 0.212 272.6) |
| XYZ | xyz(19.3549, 13.1146, 72.7309) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.12
Electric Blue
#0652FF
ΔE00 3.88
Azul
#1D5DEC
ΔE00 4.70
Iris
#6258C4
ΔE00 5.29
Dark Periwinkle
#665FD1
ΔE00 5.35
Slate Blue
#6A5ACD
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4754E1 #E1D447
analogous
#47A1E1 #4754E1 #8747E1
triadic
#4754E1 #E14754 #54E147
tetradic
#4754E1 #E147A1 #E1D447 #47E187
square
#4754E1 #E147A1 #E1D447 #47E187
split-complementary
#4754E1 #E18747 #A1E147
monochromatic
#182395 #212FCA #4754E1 #7C85EA #B0B6F2
Accessibility & contrast
On white
5.80
#4754E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#4754E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4754E1
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4754E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4754E1 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#005EDE
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4754e1; /* rgb */ color: rgb(71, 84, 225); /* oklch */ color: oklch(52.4% 0.212 272.6);
Tailwind
colors: {
custom: {
50: '#8d84eb',
500: '#4754e1',
950: '#000000',
},
}SCSS
$custom: #4754e1; $custom-light: #8d84eb; $custom-dark: #000000;
JSON
{
"hex": "#4754e1",
"rgb": {
"r": 71,
"g": 84,
"b": 225
},
"hsl": {
"h": 234.935,
"s": 71.963,
"l": 58.039
},
"oklch": {
"l": 0.52419,
"c": 0.21157,
"h": 272.6
},
"luminance": 0.13116
}Semantic roles & 50–950 ramp
primary
#4754E1
secondary
#E1DBA3
accent
#DF39EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84