#3852BB#3852BB
#3852BB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.168 H 268.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3852BB |
|---|---|
| RGB | rgb(56, 82, 187) |
| HSL | hsl(228, 54%, 48%) |
| HSV | hsv(228, 70%, 73%) |
| CMYK | cmyk(70.1%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(38.66, 26.02, -58.30) |
| CIE-LCH | lch(38.66, 63.84, 294.05°) |
| OKLab | oklab(48.1% -0.0037 -0.1679) |
| OKLCH | oklch(48.1% 0.168 268.7) |
| XYZ | xyz(13.6147, 10.4618, 48.3059) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.61
Blue Blue
#2242C7
ΔE00 5.14
Cobalt
#0047AB
ΔE00 5.37
Warm Blue
#4B57DB
ΔE00 5.48
Blue (survey)
#0343DF
ΔE00 6.18
Denim Blue
#3B5B92
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3852BB #BBA138
analogous
#3893BB #3852BB #6038BB
triadic
#3852BB #BB3852 #52BB38
tetradic
#3852BB #BB3893 #BBA138 #38BB60
square
#3852BB #BB3893 #BBA138 #38BB60
split-complementary
#3852BB #BB6038 #93BB38
monochromatic
#1C295D #2A3D8C #3852BB #6177D0 #909FDE
Accessibility & contrast
On white
6.79
#3852BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#3852BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3852BB
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3852BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3852BB | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3852bb; /* rgb */ color: rgb(56, 82, 187); /* oklch */ color: oklch(48.1% 0.168 268.7);
Tailwind
colors: {
custom: {
50: '#7f82d0',
500: '#3852bb',
950: '#000000',
},
}SCSS
$custom: #3852bb; $custom-light: #7f82d0; $custom-dark: #000000;
JSON
{
"hex": "#3852bb",
"rgb": {
"r": 56,
"g": 82,
"b": 187
},
"hsl": {
"h": 228.092,
"s": 53.909,
"l": 47.647
},
"oklch": {
"l": 0.48101,
"c": 0.16793,
"h": 268.7
},
"luminance": 0.10463
}Semantic roles & 50–950 ramp
primary
#3852BB
secondary
#C8BB86
accent
#C04BDD
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82