#3852C1#3852C1
#3852C1 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.6% C 0.176 H 268.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #3852C1 |
|---|---|
| RGB | rgb(56, 82, 193) |
| HSL | hsl(229, 55%, 49%) |
| HSV | hsv(229, 71%, 76%) |
| CMYK | cmyk(71%, 57.5%, 0%, 24.3%) |
| CIE-LAB | lab(39.11, 28.20, -61.07) |
| CIE-LCH | lch(39.11, 67.26, 294.78°) |
| OKLab | oklab(48.58% -0.0035 -0.176) |
| OKLCH | oklch(48.58% 0.176 268.9) |
| XYZ | xyz(14.2705, 10.7241, 51.7596) |
| Luminance | 0.1073 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.96
Warm Blue
#4B57DB
ΔE00 4.75
Blue Blue
#2242C7
ΔE00 4.90
Blue (survey)
#0343DF
ΔE00 5.62
Cobalt
#0047AB
ΔE00 5.86
Azul
#1D5DEC
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3852C1 #C1A738
analogous
#3897C1 #3852C1 #6338C1
triadic
#3852C1 #C13852 #52C138
tetradic
#3852C1 #C13897 #C1A738 #38C163
square
#3852C1 #C13897 #C1A738 #38C163
split-complementary
#3852C1 #C16338 #97C138
monochromatic
#1C2A62 #2A3E92 #3852C1 #6479D2 #94A2E0
Accessibility & contrast
On white
6.68
#3852C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#3852C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3852C1
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3852C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3852C1 | 1.00 | 6.68 | 3.15 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3852c1; /* rgb */ color: rgb(56, 82, 193); /* oklch */ color: oklch(48.6% 0.176 268.9);
Tailwind
colors: {
custom: {
50: '#8082d5',
500: '#3852c1',
950: '#000000',
},
}SCSS
$custom: #3852c1; $custom-light: #8082d5; $custom-dark: #000000;
JSON
{
"hex": "#3852c1",
"rgb": {
"r": 56,
"g": 82,
"b": 193
},
"hsl": {
"h": 228.613,
"s": 55.02,
"l": 48.824
},
"oklch": {
"l": 0.48583,
"c": 0.17607,
"h": 268.9
},
"luminance": 0.10726
}Semantic roles & 50–950 ramp
primary
#3852C1
secondary
#CBBF8A
accent
#C249DE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83