#3872C7#3872C7
#3872C7 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.7% C 0.145 H 258.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #3872C7 |
|---|---|
| RGB | rgb(56, 114, 199) |
| HSL | hsl(216, 56%, 50%) |
| HSV | hsv(216, 72%, 78%) |
| CMYK | cmyk(71.9%, 42.7%, 0%, 22%) |
| CIE-LAB | lab(48.26, 9.92, -49.79) |
| CIE-LCH | lch(48.26, 50.77, 281.26°) |
| OKLab | oklab(55.68% -0.03 -0.1423) |
| OKLCH | oklch(55.68% 0.145 258.1) |
| XYZ | xyz(17.9533, 16.9970, 56.3563) |
| Luminance | 0.1700 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.51
Windows Blue
#3778BF
ΔE00 2.85
Flat Blue
#3C73A8
ΔE00 3.83
Bluish
#2976BB
ΔE00 3.87
Cerulean Blue
#056EEE
ΔE00 4.04
French Blue
#436BAD
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3872C7 #C78D38
analogous
#38BAC7 #3872C7 #4538C7
triadic
#3872C7 #C73872 #72C738
tetradic
#3872C7 #C738BA #C78D38 #38C745
square
#3872C7 #C738BA #C78D38 #38C745
split-complementary
#3872C7 #C74538 #BAC738
monochromatic
#1D3B67 #2B5797 #3872C7 #6894D4 #98B6E2
Accessibility & contrast
On white
4.77
#3872C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#3872C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3872C7
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3872C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3872C7 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#497ACA
Deuteranopia (green-blind)
#306CC5
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #3872c7; /* rgb */ color: rgb(56, 114, 199); /* oklch */ color: oklch(55.7% 0.145 258.1);
Tailwind
colors: {
custom: {
50: '#809ad8',
500: '#3872c7',
950: '#000000',
},
}SCSS
$custom: #3872c7; $custom-light: #809ad8; $custom-dark: #000000;
JSON
{
"hex": "#3872c7",
"rgb": {
"r": 56,
"g": 114,
"b": 199
},
"hsl": {
"h": 215.664,
"s": 56.078,
"l": 50
},
"oklch": {
"l": 0.55678,
"c": 0.14548,
"h": 258.1
},
"luminance": 0.16999
}Semantic roles & 50–950 ramp
primary
#3872C7
secondary
#CDB38D
accent
#A248DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83