#3852BE#3852BE
#3852BE is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.172 H 268.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3852BE |
|---|---|
| RGB | rgb(56, 82, 190) |
| HSL | hsl(228, 54%, 48%) |
| HSV | hsv(228, 71%, 75%) |
| CMYK | cmyk(70.5%, 56.8%, 0%, 25.5%) |
| CIE-LAB | lab(38.88, 27.11, -59.69) |
| CIE-LCH | lch(38.88, 65.56, 294.42°) |
| OKLab | oklab(48.34% -0.0036 -0.172) |
| OKLCH | oklch(48.34% 0.172 268.8) |
| XYZ | xyz(13.9392, 10.5916, 50.0150) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.76
Blue Blue
#2242C7
ΔE00 5.00
Warm Blue
#4B57DB
ΔE00 5.11
Cobalt
#0047AB
ΔE00 5.60
Blue (survey)
#0343DF
ΔE00 5.89
Iris
#6258C4
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3852BE #BEA438
analogous
#3895BE #3852BE #6138BE
triadic
#3852BE #BE3852 #52BE38
tetradic
#3852BE #BE3895 #BEA438 #38BE61
square
#3852BE #BE3895 #BEA438 #38BE61
split-complementary
#3852BE #BE6138 #95BE38
monochromatic
#1C295F #2A3E8F #3852BE #6278D1 #92A1DF
Accessibility & contrast
On white
6.73
#3852BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#3852BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3852BE
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3852BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3852BE | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3852be; /* rgb */ color: rgb(56, 82, 190); /* oklch */ color: oklch(48.3% 0.172 268.8);
Tailwind
colors: {
custom: {
50: '#8082d2',
500: '#3852be',
950: '#000000',
},
}SCSS
$custom: #3852be; $custom-light: #8082d2; $custom-dark: #000000;
JSON
{
"hex": "#3852be",
"rgb": {
"r": 56,
"g": 82,
"b": 190
},
"hsl": {
"h": 228.358,
"s": 54.472,
"l": 48.235
},
"oklch": {
"l": 0.48341,
"c": 0.17202,
"h": 268.8
},
"luminance": 0.10593
}Semantic roles & 50–950 ramp
primary
#3852BE
secondary
#CABD88
accent
#C14ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83