#4852CA#4852CA
#4852CA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.2% C 0.184 H 274.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #4852CA |
|---|---|
| RGB | rgb(72, 82, 202) |
| HSL | hsl(235, 55%, 54%) |
| HSV | hsv(235, 64%, 79%) |
| CMYK | cmyk(64.4%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(40.70, 33.68, -63.68) |
| CIE-LCH | lch(40.70, 72.04, 297.88°) |
| OKLab | oklab(50.22% 0.0131 -0.1833) |
| OKLCH | oklch(50.22% 0.184 274.1) |
| XYZ | xyz(16.3469, 11.6752, 57.2577) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.79
Iris
#6258C4
ΔE00 4.35
Blue Blue
#2242C7
ΔE00 5.48
Blue (survey)
#0343DF
ΔE00 5.58
Slate Blue
#6A5ACD
ΔE00 5.74
Ocean Blue
#4F42B5
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4852CA #CAC048
analogous
#4893CA #4852CA #7F48CA
triadic
#4852CA #CA4852 #52CA48
tetradic
#4852CA #CA4893 #CAC048 #48CA7F
square
#4852CA #CA4893 #CAC048 #48CA7F
split-complementary
#4852CA #CA7F48 #93CA48
monochromatic
#222876 #3039A5 #4852CA #777FD8 #A7ACE5
Accessibility & contrast
On white
6.30
#4852CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#4852CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4852CA
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4852CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4852CA | 1.00 | 6.30 | 3.34 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4852ca; /* rgb */ color: rgb(72, 82, 202); /* oklch */ color: oklch(50.2% 0.184 274.1);
Tailwind
colors: {
custom: {
50: '#8982db',
500: '#4852ca',
950: '#000000',
},
}SCSS
$custom: #4852ca; $custom-light: #8982db; $custom-dark: #000000;
JSON
{
"hex": "#4852ca",
"rgb": {
"r": 72,
"g": 82,
"b": 202
},
"hsl": {
"h": 235.385,
"s": 55.085,
"l": 53.725
},
"oklch": {
"l": 0.50216,
"c": 0.18381,
"h": 274.1
},
"luminance": 0.11677
}Semantic roles & 50–950 ramp
primary
#4852CA
secondary
#D3CE9B
accent
#D349DE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83