#3852AC#3852AC
#3852AC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.147 H 268.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #3852AC |
|---|---|
| RGB | rgb(56, 82, 172) |
| HSL | hsl(227, 51%, 45%) |
| HSV | hsv(227, 67%, 67%) |
| CMYK | cmyk(67.4%, 52.3%, 0%, 32.5%) |
| CIE-LAB | lab(37.58, 20.54, -51.21) |
| CIE-LCH | lch(37.58, 55.17, 291.85°) |
| OKLab | oklab(46.94% -0.0047 -0.147) |
| OKLCH | oklch(46.94% 0.147 268.2) |
| XYZ | xyz(12.0920, 9.8528, 40.2862) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.54
Cobalt
#0047AB
ΔE00 4.65
Denim Blue
#3B5B92
ΔE00 5.07
Cobalt (survey)
#1E488F
ΔE00 5.75
Dusk Blue
#26538D
ΔE00 5.84
Dusky Blue
#475F94
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3852AC #AC9238
analogous
#388CAC #3852AC #5838AC
triadic
#3852AC #AC3852 #52AC38
tetradic
#3852AC #AC388C #AC9238 #38AC58
square
#3852AC #AC388C #AC9238 #38AC58
split-complementary
#3852AC #AC5838 #8CAC38
monochromatic
#1A2650 #293C7E #3852AC #5872C9 #8799D8
Accessibility & contrast
On white
7.07
#3852AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#3852AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3852AC
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3852AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3852AC | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A5EAF
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #3852ac; /* rgb */ color: rgb(56, 82, 172); /* oklch */ color: oklch(46.9% 0.147 268.2);
Tailwind
colors: {
custom: {
50: '#7c82c5',
500: '#3852ac',
950: '#000000',
},
}SCSS
$custom: #3852ac; $custom-light: #7c82c5; $custom-dark: #000000;
JSON
{
"hex": "#3852ac",
"rgb": {
"r": 56,
"g": 82,
"b": 172
},
"hsl": {
"h": 226.552,
"s": 50.877,
"l": 44.706
},
"oklch": {
"l": 0.46943,
"c": 0.14711,
"h": 268.2
},
"luminance": 0.09854
}Semantic roles & 50–950 ramp
primary
#3852AC
secondary
#C2B37E
accent
#BB4DDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82