#3852AF#3852AF
#3852AF is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.151 H 268.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #3852AF |
|---|---|
| RGB | rgb(56, 82, 175) |
| HSL | hsl(227, 52%, 45%) |
| HSV | hsv(227, 68%, 69%) |
| CMYK | cmyk(68%, 53.1%, 0%, 31.4%) |
| CIE-LAB | lab(37.79, 21.63, -52.64) |
| CIE-LCH | lch(37.79, 56.92, 292.34°) |
| OKLab | oklab(47.17% -0.0045 -0.1513) |
| OKLCH | oklch(47.17% 0.151 268.3) |
| XYZ | xyz(12.3834, 9.9693, 41.8208) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.45
Cobalt
#0047AB
ΔE00 4.72
Denim Blue
#3B5B92
ΔE00 5.38
Blue Blue
#2242C7
ΔE00 6.00
Cobalt (survey)
#1E488F
ΔE00 6.07
Dusky Blue
#475F94
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3852AF #AF9538
analogous
#388DAF #3852AF #5A38AF
triadic
#3852AF #AF3852 #52AF38
tetradic
#3852AF #AF388D #AF9538 #38AF5A
square
#3852AF #AF388D #AF9538 #38AF5A
split-complementary
#3852AF #AF5A38 #8DAF38
monochromatic
#1A2752 #293C81 #3852AF #5A73CA #889AD9
Accessibility & contrast
On white
7.01
#3852AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#3852AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3852AF
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3852AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3852AF | 1.00 | 7.01 | 2.99 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#145FB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3852af; /* rgb */ color: rgb(56, 82, 175); /* oklch */ color: oklch(47.2% 0.151 268.3);
Tailwind
colors: {
custom: {
50: '#7c82c7',
500: '#3852af',
950: '#000000',
},
}SCSS
$custom: #3852af; $custom-light: #7c82c7; $custom-dark: #000000;
JSON
{
"hex": "#3852af",
"rgb": {
"r": 56,
"g": 82,
"b": 175
},
"hsl": {
"h": 226.891,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.47169,
"c": 0.15133,
"h": 268.3
},
"luminance": 0.0997
}Semantic roles & 50–950 ramp
primary
#3852AF
secondary
#C3B480
accent
#BC4DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82