#3852C3#3852C3
#3852C3 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.7% C 0.179 H 268.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #3852C3 |
|---|---|
| RGB | rgb(56, 82, 195) |
| HSL | hsl(229, 55%, 49%) |
| HSV | hsv(229, 71%, 76%) |
| CMYK | cmyk(71.3%, 57.9%, 0%, 23.5%) |
| CIE-LAB | lab(39.27, 28.92, -61.98) |
| CIE-LCH | lch(39.27, 68.40, 295.01°) |
| OKLab | oklab(48.75% -0.0034 -0.1787) |
| OKLCH | oklch(48.75% 0.179 268.9) |
| XYZ | xyz(14.4951, 10.8140, 52.9426) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.11
Warm Blue
#4B57DB
ΔE00 4.51
Blue Blue
#2242C7
ΔE00 4.85
Blue (survey)
#0343DF
ΔE00 5.45
Cobalt
#0047AB
ΔE00 6.04
Azul
#1D5DEC
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3852C3 #C3A938
analogous
#3898C3 #3852C3 #6438C3
triadic
#3852C3 #C33852 #52C338
tetradic
#3852C3 #C33898 #C3A938 #38C364
square
#3852C3 #C33898 #C3A938 #38C364
split-complementary
#3852C3 #C36438 #98C338
monochromatic
#1D2A64 #2A3E93 #3852C3 #657AD3 #95A3E1
Accessibility & contrast
On white
6.64
#3852C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#3852C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3852C3
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3852C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3852C3 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3852c3; /* rgb */ color: rgb(56, 82, 195); /* oklch */ color: oklch(48.7% 0.179 268.9);
Tailwind
colors: {
custom: {
50: '#8182d6',
500: '#3852c3',
950: '#000000',
},
}SCSS
$custom: #3852c3; $custom-light: #8182d6; $custom-dark: #000000;
JSON
{
"hex": "#3852c3",
"rgb": {
"r": 56,
"g": 82,
"b": 195
},
"hsl": {
"h": 228.777,
"s": 55.378,
"l": 49.216
},
"oklch": {
"l": 0.48746,
"c": 0.17876,
"h": 268.9
},
"luminance": 0.10815
}Semantic roles & 50–950 ramp
primary
#3852C3
secondary
#CCC08B
accent
#C349DF
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83