#4752C5#4752C5
#4752C5 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.8% C 0.177 H 273.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4752C5 |
|---|---|
| RGB | rgb(71, 82, 197) |
| HSL | hsl(235, 52%, 53%) |
| HSV | hsv(235, 64%, 77%) |
| CMYK | cmyk(64%, 58.4%, 0%, 22.7%) |
| CIE-LAB | lab(40.25, 31.82, -61.50) |
| CIE-LCH | lch(40.25, 69.25, 297.35°) |
| OKLab | oklab(49.75% 0.012 -0.177) |
| OKLCH | oklch(49.75% 0.177 273.9) |
| XYZ | xyz(15.6905, 11.4041, 54.1868) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.41
Iris
#6258C4
ΔE00 4.50
Blue Blue
#2242C7
ΔE00 5.35
Ocean Blue
#4F42B5
ΔE00 5.63
Blue (survey)
#0343DF
ΔE00 5.78
Slate Blue
#6A5ACD
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4752C5 #C5BA47
analogous
#4791C5 #4752C5 #7B47C5
triadic
#4752C5 #C54752 #52C547
tetradic
#4752C5 #C54791 #C5BA47 #47C57B
square
#4752C5 #C54791 #C5BA47 #47C57B
split-complementary
#4752C5 #C57B47 #91C547
monochromatic
#232A6F #323B9D #4752C5 #767ED4 #A4AAE2
Accessibility & contrast
On white
6.40
#4752C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#4752C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4752C5
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4752C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4752C5 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#0059C3
Tritanopia (blue-blind)
#006E83
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4752c5; /* rgb */ color: rgb(71, 82, 197); /* oklch */ color: oklch(49.8% 0.177 273.9);
Tailwind
colors: {
custom: {
50: '#8882d7',
500: '#4752c5',
950: '#000000',
},
}SCSS
$custom: #4752c5; $custom-light: #8882d7; $custom-dark: #000000;
JSON
{
"hex": "#4752c5",
"rgb": {
"r": 71,
"g": 82,
"b": 197
},
"hsl": {
"h": 234.762,
"s": 52.066,
"l": 52.549
},
"oklch": {
"l": 0.49752,
"c": 0.17738,
"h": 273.9
},
"luminance": 0.11405
}Semantic roles & 50–950 ramp
primary
#4752C5
secondary
#CFCA99
accent
#CF4CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83