#4752BA#4752BA
#4752BA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.9% C 0.162 H 274.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4752BA |
|---|---|
| RGB | rgb(71, 82, 186) |
| HSL | hsl(234, 45%, 50%) |
| HSV | hsv(234, 62%, 73%) |
| CMYK | cmyk(61.8%, 55.9%, 0%, 27.1%) |
| CIE-LAB | lab(39.44, 28.04, -56.40) |
| CIE-LCH | lch(39.44, 62.99, 296.43°) |
| OKLab | oklab(48.89% 0.0118 -0.162) |
| OKLCH | oklch(48.89% 0.162 274.2) |
| XYZ | xyz(14.4758, 10.9182, 47.7894) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.82
Iris
#6258C4
ΔE00 4.90
Ocean Blue
#4F42B5
ΔE00 5.44
Blue Blue
#2242C7
ΔE00 5.58
Sapphire
#0F52BA
ΔE00 5.77
Blue (survey)
#0343DF
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4752BA #BAAF47
analogous
#478BBA #4752BA #7547BA
triadic
#4752BA #BA4752 #52BA47
tetradic
#4752BA #BA478B #BAAF47 #47BA75
square
#4752BA #BA478B #BAAF47 #47BA75
split-complementary
#4752BA #BA7547 #8BBA47
monochromatic
#252B62 #353E8E #4752BA #747CCB #A0A6DB
Accessibility & contrast
On white
6.60
#4752BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#4752BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4752BA
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4752BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4752BA | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4752ba; /* rgb */ color: rgb(71, 82, 186); /* oklch */ color: oklch(48.9% 0.162 274.2);
Tailwind
colors: {
custom: {
50: '#8682cf',
500: '#4752ba',
950: '#000000',
},
}SCSS
$custom: #4752ba; $custom-light: #8682cf; $custom-dark: #000000;
JSON
{
"hex": "#4752ba",
"rgb": {
"r": 71,
"g": 82,
"b": 186
},
"hsl": {
"h": 234.261,
"s": 45.455,
"l": 50.392
},
"oklch": {
"l": 0.48893,
"c": 0.16239,
"h": 274.2
},
"luminance": 0.10919
}Semantic roles & 50–950 ramp
primary
#4752BA
secondary
#C8C395
accent
#C953D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82