#3852AE#3852AE
#3852AE is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.150 H 268.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3852AE |
|---|---|
| RGB | rgb(56, 82, 174) |
| HSL | hsl(227, 51%, 45%) |
| HSV | hsv(227, 68%, 68%) |
| CMYK | cmyk(67.8%, 52.9%, 0%, 31.8%) |
| CIE-LAB | lab(37.72, 21.27, -52.17) |
| CIE-LCH | lch(37.72, 56.34, 292.18°) |
| OKLab | oklab(47.09% -0.0046 -0.1498) |
| OKLCH | oklch(47.09% 0.15 268.3) |
| XYZ | xyz(12.2855, 9.9302, 41.3055) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.47
Cobalt
#0047AB
ΔE00 4.69
Denim Blue
#3B5B92
ΔE00 5.27
Cobalt (survey)
#1E488F
ΔE00 5.96
Dusky Blue
#475F94
ΔE00 6.01
Dusk Blue
#26538D
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3852AE #AE9438
analogous
#388DAE #3852AE #5938AE
triadic
#3852AE #AE3852 #52AE38
tetradic
#3852AE #AE388D #AE9438 #38AE59
square
#3852AE #AE388D #AE9438 #38AE59
split-complementary
#3852AE #AE5938 #8DAE38
monochromatic
#1A2651 #293C80 #3852AE #5972CA #889AD9
Accessibility & contrast
On white
7.03
#3852AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#3852AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3852AE
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3852AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3852AE | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#165EB1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3852ae; /* rgb */ color: rgb(56, 82, 174); /* oklch */ color: oklch(47.1% 0.150 268.3);
Tailwind
colors: {
custom: {
50: '#7c82c7',
500: '#3852ae',
950: '#000000',
},
}SCSS
$custom: #3852ae; $custom-light: #7c82c7; $custom-dark: #000000;
JSON
{
"hex": "#3852ae",
"rgb": {
"r": 56,
"g": 82,
"b": 174
},
"hsl": {
"h": 226.78,
"s": 51.304,
"l": 45.098
},
"oklch": {
"l": 0.47093,
"c": 0.14992,
"h": 268.3
},
"luminance": 0.09931
}Semantic roles & 50–950 ramp
primary
#3852AE
secondary
#C3B47F
accent
#BC4DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82