#4852C7#4852C7
#4852C7 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.180 H 274.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #4852C7 |
|---|---|
| RGB | rgb(72, 82, 199) |
| HSL | hsl(235, 53%, 53%) |
| HSV | hsv(235, 64%, 78%) |
| CMYK | cmyk(63.8%, 58.8%, 0%, 22%) |
| CIE-LAB | lab(40.47, 32.66, -62.32) |
| CIE-LCH | lch(40.47, 70.36, 297.66°) |
| OKLab | oklab(49.97% 0.0131 -0.1793) |
| OKLCH | oklch(49.97% 0.18 274.2) |
| XYZ | xyz(15.9952, 11.5345, 55.4052) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.14
Iris
#6258C4
ΔE00 4.35
Blue Blue
#2242C7
ΔE00 5.43
Ocean Blue
#4F42B5
ΔE00 5.65
Blue (survey)
#0343DF
ΔE00 5.73
Slate Blue
#6A5ACD
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4852C7 #C7BD48
analogous
#4891C7 #4852C7 #7E48C7
triadic
#4852C7 #C74852 #52C748
tetradic
#4852C7 #C74891 #C7BD48 #48C77E
square
#4852C7 #C74891 #C7BD48 #48C77E
split-complementary
#4852C7 #C77E48 #91C748
monochromatic
#232972 #313AA1 #4852C7 #777ED5 #A6ABE4
Accessibility & contrast
On white
6.35
#4852C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#4852C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4852C7
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4852C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4852C7 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4852c7; /* rgb */ color: rgb(72, 82, 199); /* oklch */ color: oklch(50.0% 0.180 274.2);
Tailwind
colors: {
custom: {
50: '#8882d9',
500: '#4852c7',
950: '#000000',
},
}SCSS
$custom: #4852c7; $custom-light: #8882d9; $custom-dark: #000000;
JSON
{
"hex": "#4852c7",
"rgb": {
"r": 72,
"g": 82,
"b": 199
},
"hsl": {
"h": 235.276,
"s": 53.138,
"l": 53.137
},
"oklch": {
"l": 0.49974,
"c": 0.17981,
"h": 274.2
},
"luminance": 0.11536
}Semantic roles & 50–950 ramp
primary
#4852C7
secondary
#D1CC9A
accent
#D14BDD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83