#3852BC#3852BC
#3852BC is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.169 H 268.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #3852BC |
|---|---|
| RGB | rgb(56, 82, 188) |
| HSL | hsl(228, 54%, 48%) |
| HSV | hsv(228, 70%, 74%) |
| CMYK | cmyk(70.2%, 56.4%, 0%, 26.3%) |
| CIE-LAB | lab(38.73, 26.38, -58.76) |
| CIE-LCH | lch(38.73, 64.41, 294.18°) |
| OKLab | oklab(48.18% -0.0037 -0.1693) |
| OKLCH | oklch(48.18% 0.169 268.8) |
| XYZ | xyz(13.7222, 10.5048, 48.8717) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.66
Blue Blue
#2242C7
ΔE00 5.09
Warm Blue
#4B57DB
ΔE00 5.35
Cobalt
#0047AB
ΔE00 5.44
Blue (survey)
#0343DF
ΔE00 6.08
Denim Blue
#3B5B92
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3852BC #BCA238
analogous
#3894BC #3852BC #6038BC
triadic
#3852BC #BC3852 #52BC38
tetradic
#3852BC #BC3894 #BCA238 #38BC60
square
#3852BC #BC3894 #BCA238 #38BC60
split-complementary
#3852BC #BC6038 #94BC38
monochromatic
#1C295E #2A3D8D #3852BC #6177D0 #90A0DE
Accessibility & contrast
On white
6.77
#3852BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#3852BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3852BC
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3852BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3852BC | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3852bc; /* rgb */ color: rgb(56, 82, 188); /* oklch */ color: oklch(48.2% 0.169 268.8);
Tailwind
colors: {
custom: {
50: '#7f82d1',
500: '#3852bc',
950: '#000000',
},
}SCSS
$custom: #3852bc; $custom-light: #7f82d1; $custom-dark: #000000;
JSON
{
"hex": "#3852bc",
"rgb": {
"r": 56,
"g": 82,
"b": 188
},
"hsl": {
"h": 228.182,
"s": 54.098,
"l": 47.843
},
"oklch": {
"l": 0.48181,
"c": 0.1693,
"h": 268.8
},
"luminance": 0.10506
}Semantic roles & 50–950 ramp
primary
#3852BC
secondary
#C9BC87
accent
#C04ADD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82