#3852BA#3852BA
#3852BA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.0% C 0.167 H 268.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3852BA |
|---|---|
| RGB | rgb(56, 82, 186) |
| HSL | hsl(228, 54%, 47%) |
| HSV | hsv(228, 70%, 73%) |
| CMYK | cmyk(69.9%, 55.9%, 0%, 27.1%) |
| CIE-LAB | lab(38.58, 25.65, -57.83) |
| CIE-LCH | lch(38.58, 63.27, 293.92°) |
| OKLab | oklab(48.02% -0.0037 -0.1665) |
| OKLCH | oklch(48.02% 0.167 268.7) |
| XYZ | xyz(13.5081, 10.4192, 47.7441) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.56
Blue Blue
#2242C7
ΔE00 5.19
Cobalt
#0047AB
ΔE00 5.29
Warm Blue
#4B57DB
ΔE00 5.60
Blue (survey)
#0343DF
ΔE00 6.28
Denim Blue
#3B5B92
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3852BA #BAA038
analogous
#3893BA #3852BA #5F38BA
triadic
#3852BA #BA3852 #52BA38
tetradic
#3852BA #BA3893 #BAA038 #38BA5F
square
#3852BA #BA3893 #BAA038 #38BA5F
split-complementary
#3852BA #BA5F38 #93BA38
monochromatic
#1C295C #2A3D8B #3852BA #6076CF #8F9FDD
Accessibility & contrast
On white
6.81
#3852BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#3852BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3852BA
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3852BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3852BA | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3852ba; /* rgb */ color: rgb(56, 82, 186); /* oklch */ color: oklch(48.0% 0.167 268.7);
Tailwind
colors: {
custom: {
50: '#7f82cf',
500: '#3852ba',
950: '#000000',
},
}SCSS
$custom: #3852ba; $custom-light: #7f82cf; $custom-dark: #000000;
JSON
{
"hex": "#3852ba",
"rgb": {
"r": 56,
"g": 82,
"b": 186
},
"hsl": {
"h": 228,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.48022,
"c": 0.16656,
"h": 268.7
},
"luminance": 0.10421
}Semantic roles & 50–950 ramp
primary
#3852BA
secondary
#C8BB86
accent
#C04BDD
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82