#3871C3#3871C3
#3871C3 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.2% C 0.141 H 257.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3871C3 |
|---|---|
| RGB | rgb(56, 113, 195) |
| HSL | hsl(215, 55%, 49%) |
| HSV | hsv(215, 71%, 76%) |
| CMYK | cmyk(71.3%, 42.1%, 0%, 23.5%) |
| CIE-LAB | lab(47.74, 9.08, -48.32) |
| CIE-LCH | lch(47.74, 49.17, 280.64°) |
| OKLab | oklab(55.2% -0.0299 -0.138) |
| OKLCH | oklch(55.2% 0.141 257.8) |
| XYZ | xyz(17.3828, 16.5893, 53.9051) |
| Luminance | 0.1659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.06
Windows Blue
#3778BF
ΔE00 3.00
Flat Blue
#3C73A8
ΔE00 3.51
French Blue
#436BAD
ΔE00 3.57
Mid Blue
#276AB3
ΔE00 3.68
Bluish
#2976BB
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3871C3 #C38A38
analogous
#38B6C3 #3871C3 #4538C3
triadic
#3871C3 #C33871 #71C338
tetradic
#3871C3 #C338B6 #C38A38 #38C345
square
#3871C3 #C338B6 #C38A38 #38C345
split-complementary
#3871C3 #C34538 #B6C338
monochromatic
#1D3A64 #2A5593 #3871C3 #6592D3 #95B4E1
Accessibility & contrast
On white
4.86
#3871C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#3871C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3871C3
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3871C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3871C3 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A78C6
Deuteranopia (green-blind)
#326BC1
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #3871c3; /* rgb */ color: rgb(56, 113, 195); /* oklch */ color: oklch(55.2% 0.141 257.8);
Tailwind
colors: {
custom: {
50: '#7f99d5',
500: '#3871c3',
950: '#000000',
},
}SCSS
$custom: #3871c3; $custom-light: #7f99d5; $custom-dark: #000000;
JSON
{
"hex": "#3871c3",
"rgb": {
"r": 56,
"g": 113,
"b": 195
},
"hsl": {
"h": 215.396,
"s": 55.378,
"l": 49.216
},
"oklch": {
"l": 0.55202,
"c": 0.14125,
"h": 257.8
},
"luminance": 0.16591
}Semantic roles & 50–950 ramp
primary
#3871C3
secondary
#CCB18B
accent
#A149DF
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83