#4752C1#4752C1
#4752C1 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.4% C 0.172 H 274.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #4752C1 |
|---|---|
| RGB | rgb(71, 82, 193) |
| HSL | hsl(235, 50%, 52%) |
| HSV | hsv(235, 63%, 76%) |
| CMYK | cmyk(63.2%, 57.5%, 0%, 24.3%) |
| CIE-LAB | lab(39.95, 30.44, -59.66) |
| CIE-LCH | lch(39.95, 66.98, 297.03°) |
| OKLab | oklab(49.44% 0.012 -0.1715) |
| OKLCH | oklch(49.44% 0.172 274) |
| XYZ | xyz(15.2383, 11.2232, 51.8050) |
| Luminance | 0.1122 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.91
Iris
#6258C4
ΔE00 4.60
Blue Blue
#2242C7
ΔE00 5.37
Ocean Blue
#4F42B5
ΔE00 5.50
Sapphire
#0F52BA
ΔE00 5.99
Blue (survey)
#0343DF
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4752C1 #C1B647
analogous
#478FC1 #4752C1 #7947C1
triadic
#4752C1 #C14752 #52C147
tetradic
#4752C1 #C1478F #C1B647 #47C179
square
#4752C1 #C1478F #C1B647 #47C179
split-complementary
#4752C1 #C17947 #8FC147
monochromatic
#242A6A #333C98 #4752C1 #757DD0 #A3A8E0
Accessibility & contrast
On white
6.47
#4752C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#4752C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4752C1
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4752C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4752C1 | 1.00 | 6.47 | 3.24 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4752c1; /* rgb */ color: rgb(71, 82, 193); /* oklch */ color: oklch(49.4% 0.172 274.0);
Tailwind
colors: {
custom: {
50: '#8782d5',
500: '#4752c1',
950: '#000000',
},
}SCSS
$custom: #4752c1; $custom-light: #8782d5; $custom-dark: #000000;
JSON
{
"hex": "#4752c1",
"rgb": {
"r": 71,
"g": 82,
"b": 193
},
"hsl": {
"h": 234.59,
"s": 49.593,
"l": 51.765
},
"oklch": {
"l": 0.49436,
"c": 0.17197,
"h": 274
},
"luminance": 0.11224
}Semantic roles & 50–950 ramp
primary
#4752C1
secondary
#CDC897
accent
#CD4FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83