#4752CF#4752CF
#4752CF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.191 H 273.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4752CF |
|---|---|
| RGB | rgb(71, 82, 207) |
| HSL | hsl(235, 59%, 55%) |
| HSV | hsv(235, 66%, 81%) |
| CMYK | cmyk(65.7%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(41.02, 35.24, -66.04) |
| CIE-LCH | lch(41.02, 74.85, 298.08°) |
| OKLab | oklab(50.56% 0.0119 -0.1903) |
| OKLCH | oklch(50.56% 0.191 273.6) |
| XYZ | xyz(16.8746, 11.8777, 60.4227) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.29
Iris
#6258C4
ΔE00 4.53
Blue (survey)
#0343DF
ΔE00 5.33
Blue Blue
#2242C7
ΔE00 5.57
Slate Blue
#6A5ACD
ΔE00 5.73
Electric Blue
#0652FF
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4752CF #CFC447
analogous
#4796CF #4752CF #8047CF
triadic
#4752CF #CF4752 #52CF47
tetradic
#4752CF #CF4796 #CFC447 #47CF80
square
#4752CF #CF4796 #CFC447 #47CF80
split-complementary
#4752CF #CF8047 #96CF47
monochromatic
#20287B #2D37AC #4752CF #7880DC #A8ADE8
Accessibility & contrast
On white
6.22
#4752CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#4752CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4752CF
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4752CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4752CF | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4752cf; /* rgb */ color: rgb(71, 82, 207); /* oklch */ color: oklch(50.6% 0.191 273.6);
Tailwind
colors: {
custom: {
50: '#8a82df',
500: '#4752cf',
950: '#000000',
},
}SCSS
$custom: #4752cf; $custom-light: #8a82df; $custom-dark: #000000;
JSON
{
"hex": "#4752cf",
"rgb": {
"r": 71,
"g": 82,
"b": 207
},
"hsl": {
"h": 235.147,
"s": 58.621,
"l": 54.51
},
"oklch": {
"l": 0.50561,
"c": 0.19067,
"h": 273.6
},
"luminance": 0.11879
}Semantic roles & 50–950 ramp
primary
#4752CF
secondary
#D6D19C
accent
#D546E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83