#3871B5#3871B5
#3871B5 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.3% C 0.123 H 254.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #3871B5 |
|---|---|
| RGB | rgb(56, 113, 181) |
| HSL | hsl(213, 53%, 46%) |
| HSV | hsv(213, 69%, 71%) |
| CMYK | cmyk(69.1%, 37.6%, 0%, 29%) |
| CIE-LAB | lab(46.96, 3.99, -41.48) |
| CIE-LCH | lch(46.96, 41.67, 275.49°) |
| OKLab | oklab(54.34% -0.0331 -0.118) |
| OKLCH | oklch(54.34% 0.123 254.3) |
| XYZ | xyz(15.8734, 15.9855, 45.9561) |
| Luminance | 0.1599 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.12
Flat Blue
#3C73A8
ΔE00 1.98
Mid Blue
#276AB3
ΔE00 2.69
Windows Blue
#3778BF
ΔE00 2.81
Bluish
#2976BB
ΔE00 2.85
Muted Blue
#3B719F
ΔE00 3.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3871B5 #B57C38
analogous
#38B0B5 #3871B5 #3E38B5
triadic
#3871B5 #B53871 #71B538
tetradic
#3871B5 #B538B0 #B57C38 #38B53E
square
#3871B5 #B538B0 #B57C38 #38B53E
split-complementary
#3871B5 #B53E38 #B0B538
monochromatic
#1B3758 #2A5486 #3871B5 #5D90CD #8CB0DB
Accessibility & contrast
On white
5.00
#3871B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#3871B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3871B5
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3871B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3871B5 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5276B8
Deuteranopia (green-blind)
#406AB4
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #3871b5; /* rgb */ color: rgb(56, 113, 181); /* oklch */ color: oklch(54.3% 0.123 254.3);
Tailwind
colors: {
custom: {
50: '#7d99cb',
500: '#3871b5',
950: '#000000',
},
}SCSS
$custom: #3871b5; $custom-light: #7d99cb; $custom-dark: #000000;
JSON
{
"hex": "#3871b5",
"rgb": {
"r": 56,
"g": 113,
"b": 181
},
"hsl": {
"h": 212.64,
"s": 52.743,
"l": 46.471
},
"oklch": {
"l": 0.54338,
"c": 0.12254,
"h": 254.3
},
"luminance": 0.15987
}Semantic roles & 50–950 ramp
primary
#3871B5
secondary
#C6A783
accent
#9A4CDC
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82