#3872C6#3872C6
#3872C6 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.6% C 0.144 H 257.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #3872C6 |
|---|---|
| RGB | rgb(56, 114, 198) |
| HSL | hsl(215, 56%, 50%) |
| HSV | hsv(215, 72%, 78%) |
| CMYK | cmyk(71.7%, 42.4%, 0%, 22.4%) |
| CIE-LAB | lab(48.20, 9.55, -49.31) |
| CIE-LCH | lch(48.20, 50.23, 280.96°) |
| OKLab | oklab(55.61% -0.0302 -0.1409) |
| OKLCH | oklch(55.61% 0.144 257.9) |
| XYZ | xyz(17.8375, 16.9507, 55.7469) |
| Luminance | 0.1695 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.40
Windows Blue
#3778BF
ΔE00 2.79
Flat Blue
#3C73A8
ΔE00 3.72
Bluish
#2976BB
ΔE00 3.77
French Blue
#436BAD
ΔE00 4.01
Mid Blue
#276AB3
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3872C6 #C68C38
analogous
#38B9C6 #3872C6 #4538C6
triadic
#3872C6 #C63872 #72C638
tetradic
#3872C6 #C638B9 #C68C38 #38C645
square
#3872C6 #C638B9 #C68C38 #38C645
split-complementary
#3872C6 #C64538 #B9C638
monochromatic
#1D3B67 #2B5796 #3872C6 #6794D4 #97B5E2
Accessibility & contrast
On white
4.78
#3872C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#3872C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3872C6
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3872C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3872C6 | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4979C9
Deuteranopia (green-blind)
#316CC4
Tritanopia (blue-blind)
#008692
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #3872c6; /* rgb */ color: rgb(56, 114, 198); /* oklch */ color: oklch(55.6% 0.144 257.9);
Tailwind
colors: {
custom: {
50: '#809ad8',
500: '#3872c6',
950: '#000000',
},
}SCSS
$custom: #3872c6; $custom-light: #809ad8; $custom-dark: #000000;
JSON
{
"hex": "#3872c6",
"rgb": {
"r": 56,
"g": 114,
"b": 198
},
"hsl": {
"h": 215.493,
"s": 55.906,
"l": 49.804
},
"oklch": {
"l": 0.55614,
"c": 0.14414,
"h": 257.9
},
"luminance": 0.16953
}Semantic roles & 50–950 ramp
primary
#3872C6
secondary
#CDB38D
accent
#A249DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83