#4852CD#4852CD
#4852CD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.188 H 274.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #4852CD |
|---|---|
| RGB | rgb(72, 82, 205) |
| HSL | hsl(235, 57%, 54%) |
| HSV | hsv(235, 65%, 80%) |
| CMYK | cmyk(64.9%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(40.93, 34.71, -65.04) |
| CIE-LCH | lch(40.93, 73.72, 298.08°) |
| OKLab | oklab(50.46% 0.013 -0.1873) |
| OKLCH | oklch(50.46% 0.188 274) |
| XYZ | xyz(16.7056, 11.8186, 59.1466) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.47
Iris
#6258C4
ΔE00 4.38
Blue (survey)
#0343DF
ΔE00 5.46
Blue Blue
#2242C7
ΔE00 5.56
Slate Blue
#6A5ACD
ΔE00 5.65
Dark Periwinkle
#665FD1
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4852CD #CDC348
analogous
#4895CD #4852CD #8148CD
triadic
#4852CD #CD4852 #52CD48
tetradic
#4852CD #CD4895 #CDC348 #48CD81
square
#4852CD #CD4895 #CDC348 #48CD81
split-complementary
#4852CD #CD8148 #95CD48
monochromatic
#212879 #2E38A9 #4852CD #787FDA #A8ADE7
Accessibility & contrast
On white
6.24
#4852CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#4852CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4852CD
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4852CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4852CD | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4852cd; /* rgb */ color: rgb(72, 82, 205); /* oklch */ color: oklch(50.5% 0.188 274.0);
Tailwind
colors: {
custom: {
50: '#8a82dd',
500: '#4852cd',
950: '#000000',
},
}SCSS
$custom: #4852cd; $custom-light: #8a82dd; $custom-dark: #000000;
JSON
{
"hex": "#4852cd",
"rgb": {
"r": 72,
"g": 82,
"b": 205
},
"hsl": {
"h": 235.489,
"s": 57.082,
"l": 54.314
},
"oklch": {
"l": 0.50459,
"c": 0.18778,
"h": 274
},
"luminance": 0.1182
}Semantic roles & 50–950 ramp
primary
#4852CD
secondary
#D5D09C
accent
#D547E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83