#4752AF#4752AF
#4752AF is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.147 H 274.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4752AF |
|---|---|
| RGB | rgb(71, 82, 175) |
| HSL | hsl(234, 42%, 48%) |
| HSV | hsv(234, 59%, 69%) |
| CMYK | cmyk(59.4%, 53.1%, 0%, 31.4%) |
| CIE-LAB | lab(38.67, 24.27, -51.17) |
| CIE-LCH | lch(38.67, 56.64, 295.37°) |
| OKLab | oklab(48.07% 0.0113 -0.1466) |
| OKLCH | oklch(48.07% 0.147 274.4) |
| XYZ | xyz(13.3512, 10.4683, 41.8662) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.71
Ocean Blue
#4F42B5
ΔE00 5.75
Sapphire
#0F52BA
ΔE00 5.79
Blue Blue
#2242C7
ΔE00 6.30
Warm Blue
#4B57DB
ΔE00 6.34
Blueberry
#464196
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4752AF #AFA447
analogous
#4786AF #4752AF #7047AF
triadic
#4752AF #AF4752 #52AF47
tetradic
#4752AF #AF4786 #AFA447 #47AF70
square
#4752AF #AF4786 #AFA447 #47AF70
split-complementary
#4752AF #AF7047 #86AF47
monochromatic
#242958 #353E83 #4752AF #6F78C4 #9AA1D6
Accessibility & contrast
On white
6.79
#4752AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#4752AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4752AF
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4752AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4752AF | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A60B2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4752af; /* rgb */ color: rgb(71, 82, 175); /* oklch */ color: oklch(48.1% 0.147 274.4);
Tailwind
colors: {
custom: {
50: '#8482c7',
500: '#4752af',
950: '#000000',
},
}SCSS
$custom: #4752af; $custom-light: #8482c7; $custom-dark: #000000;
JSON
{
"hex": "#4752af",
"rgb": {
"r": 71,
"g": 82,
"b": 175
},
"hsl": {
"h": 233.654,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.48069,
"c": 0.14701,
"h": 274.4
},
"luminance": 0.10469
}Semantic roles & 50–950 ramp
primary
#4752AF
secondary
#C2BD8F
accent
#C556D2
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82