#3852BF#3852BF
#3852BF is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.173 H 268.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #3852BF |
|---|---|
| RGB | rgb(56, 82, 191) |
| HSL | hsl(228, 55%, 48%) |
| HSV | hsv(228, 71%, 75%) |
| CMYK | cmyk(70.7%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(38.96, 27.47, -60.15) |
| CIE-LCH | lch(38.96, 66.13, 294.55°) |
| OKLab | oklab(48.42% -0.0035 -0.1733) |
| OKLCH | oklch(48.42% 0.173 268.8) |
| XYZ | xyz(14.0489, 10.6355, 50.5926) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.83
Blue Blue
#2242C7
ΔE00 4.96
Warm Blue
#4B57DB
ΔE00 4.99
Cobalt
#0047AB
ΔE00 5.68
Blue (survey)
#0343DF
ΔE00 5.79
Azul
#1D5DEC
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3852BF #BFA538
analogous
#3895BF #3852BF #6138BF
triadic
#3852BF #BF3852 #52BF38
tetradic
#3852BF #BF3895 #BFA538 #38BF61
square
#3852BF #BF3895 #BFA538 #38BF61
split-complementary
#3852BF #BF6138 #95BF38
monochromatic
#1C2960 #2A3E90 #3852BF #6378D1 #92A1DF
Accessibility & contrast
On white
6.71
#3852BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#3852BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3852BF
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3852BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3852BF | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3852bf; /* rgb */ color: rgb(56, 82, 191); /* oklch */ color: oklch(48.4% 0.173 268.8);
Tailwind
colors: {
custom: {
50: '#8082d3',
500: '#3852bf',
950: '#000000',
},
}SCSS
$custom: #3852bf; $custom-light: #8082d3; $custom-dark: #000000;
JSON
{
"hex": "#3852bf",
"rgb": {
"r": 56,
"g": 82,
"b": 191
},
"hsl": {
"h": 228.444,
"s": 54.656,
"l": 48.431
},
"oklch": {
"l": 0.48421,
"c": 0.17338,
"h": 268.8
},
"luminance": 0.10637
}Semantic roles & 50–950 ramp
primary
#3852BF
secondary
#CABE89
accent
#C14ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83