#3871C1#3871C1
#3871C1 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.1% C 0.139 H 257.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #3871C1 |
|---|---|
| RGB | rgb(56, 113, 193) |
| HSL | hsl(215, 55%, 49%) |
| HSV | hsv(215, 71%, 76%) |
| CMYK | cmyk(71%, 41.5%, 0%, 24.3%) |
| CIE-LAB | lab(47.62, 8.35, -47.36) |
| CIE-LCH | lch(47.62, 48.09, 280.00°) |
| OKLab | oklab(55.08% -0.0303 -0.1352) |
| OKLCH | oklch(55.08% 0.139 257.4) |
| XYZ | xyz(17.1581, 16.4994, 52.7222) |
| Luminance | 0.1650 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.86
Windows Blue
#3778BF
ΔE00 2.92
Flat Blue
#3C73A8
ΔE00 3.29
French Blue
#436BAD
ΔE00 3.47
Mid Blue
#276AB3
ΔE00 3.50
Bluish
#2976BB
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3871C1 #C18838
analogous
#38B6C1 #3871C1 #4338C1
triadic
#3871C1 #C13871 #71C138
tetradic
#3871C1 #C138B6 #C18838 #38C143
square
#3871C1 #C138B6 #C18838 #38C143
split-complementary
#3871C1 #C14338 #B6C138
monochromatic
#1C3962 #2A5592 #3871C1 #6492D2 #94B3E0
Accessibility & contrast
On white
4.88
#3871C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#3871C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3871C1
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3871C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3871C1 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B78C4
Deuteranopia (green-blind)
#356BBF
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #3871c1; /* rgb */ color: rgb(56, 113, 193); /* oklch */ color: oklch(55.1% 0.139 257.4);
Tailwind
colors: {
custom: {
50: '#7f99d4',
500: '#3871c1',
950: '#000000',
},
}SCSS
$custom: #3871c1; $custom-light: #7f99d4; $custom-dark: #000000;
JSON
{
"hex": "#3871c1",
"rgb": {
"r": 56,
"g": 113,
"b": 193
},
"hsl": {
"h": 215.036,
"s": 55.02,
"l": 48.824
},
"oklch": {
"l": 0.55075,
"c": 0.13857,
"h": 257.4
},
"luminance": 0.16501
}Semantic roles & 50–950 ramp
primary
#3871C1
secondary
#CBB08A
accent
#A049DE
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83