#4752C2#4752C2
#4752C2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.5% C 0.173 H 274.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4752C2 |
|---|---|
| RGB | rgb(71, 82, 194) |
| HSL | hsl(235, 50%, 52%) |
| HSV | hsv(235, 63%, 76%) |
| CMYK | cmyk(63.4%, 57.7%, 0%, 23.9%) |
| CIE-LAB | lab(40.03, 30.79, -60.13) |
| CIE-LCH | lch(40.03, 67.55, 297.12°) |
| OKLab | oklab(49.51% 0.012 -0.1729) |
| OKLCH | oklch(49.51% 0.173 274) |
| XYZ | xyz(15.3502, 11.2679, 52.3945) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.78
Iris
#6258C4
ΔE00 4.57
Blue Blue
#2242C7
ΔE00 5.36
Ocean Blue
#4F42B5
ΔE00 5.53
Blue (survey)
#0343DF
ΔE00 5.98
Sapphire
#0F52BA
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4752C2 #C2B747
analogous
#4790C2 #4752C2 #7A47C2
triadic
#4752C2 #C24752 #52C247
tetradic
#4752C2 #C24790 #C2B747 #47C27A
square
#4752C2 #C24790 #C2B747 #47C27A
split-complementary
#4752C2 #C27A47 #90C247
monochromatic
#242A6B #333C99 #4752C2 #757DD1 #A3A8E0
Accessibility & contrast
On white
6.45
#4752C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#4752C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4752C2
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4752C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4752C2 | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4752c2; /* rgb */ color: rgb(71, 82, 194); /* oklch */ color: oklch(49.5% 0.173 274.0);
Tailwind
colors: {
custom: {
50: '#8782d5',
500: '#4752c2',
950: '#000000',
},
}SCSS
$custom: #4752c2; $custom-light: #8782d5; $custom-dark: #000000;
JSON
{
"hex": "#4752c2",
"rgb": {
"r": 71,
"g": 82,
"b": 194
},
"hsl": {
"h": 234.634,
"s": 50.204,
"l": 51.961
},
"oklch": {
"l": 0.49514,
"c": 0.17333,
"h": 274
},
"luminance": 0.11269
}Semantic roles & 50–950 ramp
primary
#4752C2
secondary
#CDC997
accent
#CD4EDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83