#3872C5#3872C5
#3872C5 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.5% C 0.143 H 257.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3872C5 |
|---|---|
| RGB | rgb(56, 114, 197) |
| HSL | hsl(215, 56%, 50%) |
| HSV | hsv(215, 72%, 77%) |
| CMYK | cmyk(71.6%, 42.1%, 0%, 22.7%) |
| CIE-LAB | lab(48.14, 9.18, -48.83) |
| CIE-LCH | lch(48.14, 49.69, 280.65°) |
| OKLab | oklab(55.55% -0.0304 -0.1395) |
| OKLCH | oklch(55.55% 0.143 257.7) |
| XYZ | xyz(17.7226, 16.9047, 55.1414) |
| Luminance | 0.1691 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.30
Windows Blue
#3778BF
ΔE00 2.73
Flat Blue
#3C73A8
ΔE00 3.61
Bluish
#2976BB
ΔE00 3.68
French Blue
#436BAD
ΔE00 3.96
Mid Blue
#276AB3
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3872C5 #C58B38
analogous
#38B9C5 #3872C5 #4538C5
triadic
#3872C5 #C53872 #72C538
tetradic
#3872C5 #C538B9 #C58B38 #38C545
square
#3872C5 #C538B9 #C58B38 #38C545
split-complementary
#3872C5 #C54538 #B9C538
monochromatic
#1D3B66 #2A5695 #3872C5 #6793D4 #96B5E1
Accessibility & contrast
On white
4.79
#3872C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#3872C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3872C5
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3872C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3872C5 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A79C8
Deuteranopia (green-blind)
#326CC3
Tritanopia (blue-blind)
#008592
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #3872c5; /* rgb */ color: rgb(56, 114, 197); /* oklch */ color: oklch(55.5% 0.143 257.7);
Tailwind
colors: {
custom: {
50: '#809ad7',
500: '#3872c5',
950: '#000000',
},
}SCSS
$custom: #3872c5; $custom-light: #809ad7; $custom-dark: #000000;
JSON
{
"hex": "#3872c5",
"rgb": {
"r": 56,
"g": 114,
"b": 197
},
"hsl": {
"h": 215.319,
"s": 55.731,
"l": 49.608
},
"oklch": {
"l": 0.5555,
"c": 0.14281,
"h": 257.7
},
"luminance": 0.16907
}Semantic roles & 50–950 ramp
primary
#3872C5
secondary
#CDB28C
accent
#A149DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83