#3872C4#3872C4
#3872C4 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.5% C 0.141 H 257.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3872C4 |
|---|---|
| RGB | rgb(56, 114, 196) |
| HSL | hsl(215, 56%, 49%) |
| HSV | hsv(215, 71%, 77%) |
| CMYK | cmyk(71.4%, 41.8%, 0%, 23.1%) |
| CIE-LAB | lab(48.08, 8.82, -48.35) |
| CIE-LCH | lch(48.08, 49.15, 280.34°) |
| OKLab | oklab(55.49% -0.0306 -0.1381) |
| OKLCH | oklch(55.49% 0.141 257.5) |
| XYZ | xyz(17.6084, 16.8590, 54.5400) |
| Luminance | 0.1686 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.19
Windows Blue
#3778BF
ΔE00 2.67
Flat Blue
#3C73A8
ΔE00 3.50
Bluish
#2976BB
ΔE00 3.59
French Blue
#436BAD
ΔE00 3.90
Mid Blue
#276AB3
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3872C4 #C48A38
analogous
#38B8C4 #3872C4 #4438C4
triadic
#3872C4 #C43872 #72C438
tetradic
#3872C4 #C438B8 #C48A38 #38C444
square
#3872C4 #C438B8 #C48A38 #38C444
split-complementary
#3872C4 #C44438 #B8C438
monochromatic
#1D3B65 #2A5694 #3872C4 #6693D3 #96B5E1
Accessibility & contrast
On white
4.80
#3872C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#3872C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3872C4
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3872C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3872C4 | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B79C7
Deuteranopia (green-blind)
#336CC2
Tritanopia (blue-blind)
#008591
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #3872c4; /* rgb */ color: rgb(56, 114, 196); /* oklch */ color: oklch(55.5% 0.141 257.5);
Tailwind
colors: {
custom: {
50: '#7f9ad6',
500: '#3872c4',
950: '#000000',
},
}SCSS
$custom: #3872c4; $custom-light: #7f9ad6; $custom-dark: #000000;
JSON
{
"hex": "#3872c4",
"rgb": {
"r": 56,
"g": 114,
"b": 196
},
"hsl": {
"h": 215.143,
"s": 55.556,
"l": 49.412
},
"oklch": {
"l": 0.55487,
"c": 0.14146,
"h": 257.5
},
"luminance": 0.16861
}Semantic roles & 50–950 ramp
primary
#3872C4
secondary
#CCB18C
accent
#A149DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83