#3852C5#3852C5
#3852C5 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.9% C 0.181 H 268.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #3852C5 |
|---|---|
| RGB | rgb(56, 82, 197) |
| HSL | hsl(229, 56%, 50%) |
| HSV | hsv(229, 72%, 77%) |
| CMYK | cmyk(71.6%, 58.4%, 0%, 22.7%) |
| CIE-LAB | lab(39.42, 29.65, -62.90) |
| CIE-LCH | lch(39.42, 69.53, 295.24°) |
| OKLab | oklab(48.91% -0.0034 -0.1814) |
| OKLCH | oklch(48.91% 0.181 268.9) |
| XYZ | xyz(14.7228, 10.9050, 54.1415) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.26
Warm Blue
#4B57DB
ΔE00 4.28
Blue Blue
#2242C7
ΔE00 4.83
Blue (survey)
#0343DF
ΔE00 5.29
Azul
#1D5DEC
ΔE00 6.00
Cobalt
#0047AB
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3852C5 #C5AB38
analogous
#3899C5 #3852C5 #6538C5
triadic
#3852C5 #C53852 #52C538
tetradic
#3852C5 #C53899 #C5AB38 #38C565
square
#3852C5 #C53899 #C5AB38 #38C565
split-complementary
#3852C5 #C56538 #99C538
monochromatic
#1D2A66 #2A3E95 #3852C5 #677BD4 #96A4E1
Accessibility & contrast
On white
6.60
#3852C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#3852C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3852C5
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3852C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3852C5 | 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)
#0064C9
Deuteranopia (green-blind)
#0057C3
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3852c5; /* rgb */ color: rgb(56, 82, 197); /* oklch */ color: oklch(48.9% 0.181 268.9);
Tailwind
colors: {
custom: {
50: '#8182d7',
500: '#3852c5',
950: '#000000',
},
}SCSS
$custom: #3852c5; $custom-light: #8182d7; $custom-dark: #000000;
JSON
{
"hex": "#3852c5",
"rgb": {
"r": 56,
"g": 82,
"b": 197
},
"hsl": {
"h": 228.936,
"s": 55.731,
"l": 49.608
},
"oklch": {
"l": 0.4891,
"c": 0.18144,
"h": 268.9
},
"luminance": 0.10907
}Semantic roles & 50–950 ramp
primary
#3852C5
secondary
#CDC18C
accent
#C349DF
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83