#3871B7#3871B7
#3871B7 is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.5% C 0.125 H 254.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #3871B7 |
|---|---|
| RGB | rgb(56, 113, 183) |
| HSL | hsl(213, 53%, 47%) |
| HSV | hsv(213, 69%, 72%) |
| CMYK | cmyk(69.4%, 38.3%, 0%, 28.2%) |
| CIE-LAB | lab(47.06, 4.71, -42.47) |
| CIE-LCH | lch(47.06, 42.73, 276.33°) |
| OKLab | oklab(54.46% -0.0326 -0.1209) |
| OKLCH | oklch(54.46% 0.125 254.9) |
| XYZ | xyz(16.0801, 16.0682, 47.0446) |
| Luminance | 0.1607 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.14
Flat Blue
#3C73A8
ΔE00 2.21
Windows Blue
#3778BF
ΔE00 2.78
Mid Blue
#276AB3
ΔE00 2.78
Bluish
#2976BB
ΔE00 2.95
French Blue
#436BAD
ΔE00 3.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3871B7 #B77E38
analogous
#38B1B7 #3871B7 #3F38B7
triadic
#3871B7 #B73871 #71B738
tetradic
#3871B7 #B738B1 #B77E38 #38B73F
square
#3871B7 #B738B1 #B77E38 #38B73F
split-complementary
#3871B7 #B73F38 #B1B738
monochromatic
#1B3759 #2A5488 #3871B7 #5E90CE #8DB1DC
Accessibility & contrast
On white
4.98
#3871B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#3871B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3871B7
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3871B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3871B7 | 1.00 | 4.98 | 4.21 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5176BA
Deuteranopia (green-blind)
#3E6AB6
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #3871b7; /* rgb */ color: rgb(56, 113, 183); /* oklch */ color: oklch(54.5% 0.125 254.9);
Tailwind
colors: {
custom: {
50: '#7d99cd',
500: '#3871b7',
950: '#000000',
},
}SCSS
$custom: #3871b7; $custom-light: #7d99cd; $custom-dark: #000000;
JSON
{
"hex": "#3871b7",
"rgb": {
"r": 56,
"g": 113,
"b": 183
},
"hsl": {
"h": 213.071,
"s": 53.138,
"l": 46.863
},
"oklch": {
"l": 0.54458,
"c": 0.12519,
"h": 254.9
},
"luminance": 0.1607
}Semantic roles & 50–950 ramp
primary
#3871B7
secondary
#C7A984
accent
#9B4BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82