#4752B7#4752B7
#4752B7 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.7% C 0.158 H 274.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #4752B7 |
|---|---|
| RGB | rgb(71, 82, 183) |
| HSL | hsl(234, 44%, 50%) |
| HSV | hsv(234, 61%, 72%) |
| CMYK | cmyk(61.2%, 55.2%, 0%, 28.2%) |
| CIE-LAB | lab(39.23, 27.01, -54.99) |
| CIE-LCH | lch(39.23, 61.27, 296.16°) |
| OKLab | oklab(48.66% 0.0117 -0.1578) |
| OKLCH | oklch(48.66% 0.158 274.2) |
| XYZ | xyz(14.1603, 10.7919, 46.1274) |
| Luminance | 0.1079 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.09
Warm Blue
#4B57DB
ΔE00 5.22
Ocean Blue
#4F42B5
ΔE00 5.47
Sapphire
#0F52BA
ΔE00 5.73
Blue Blue
#2242C7
ΔE00 5.73
Cobalt
#0047AB
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4752B7 #B7AC47
analogous
#478AB7 #4752B7 #7447B7
triadic
#4752B7 #B74752 #52B747
tetradic
#4752B7 #B7478A #B7AC47 #47B774
square
#4752B7 #B7478A #B7AC47 #47B774
split-complementary
#4752B7 #B77447 #8AB747
monochromatic
#252A5F #363E8B #4752B7 #737BC9 #9FA5DA
Accessibility & contrast
On white
6.65
#4752B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#4752B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4752B7
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4752B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4752B7 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0561BA
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4752b7; /* rgb */ color: rgb(71, 82, 183); /* oklch */ color: oklch(48.7% 0.158 274.2);
Tailwind
colors: {
custom: {
50: '#8582cd',
500: '#4752b7',
950: '#000000',
},
}SCSS
$custom: #4752b7; $custom-light: #8582cd; $custom-dark: #000000;
JSON
{
"hex": "#4752b7",
"rgb": {
"r": 71,
"g": 82,
"b": 183
},
"hsl": {
"h": 234.107,
"s": 44.094,
"l": 49.804
},
"oklch": {
"l": 0.48664,
"c": 0.15823,
"h": 274.2
},
"luminance": 0.10793
}Semantic roles & 50–950 ramp
primary
#4752B7
secondary
#C6C194
accent
#C754D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82