#3871AC#3871AC
#3871AC is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.8% C 0.111 H 251.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #3871AC |
|---|---|
| RGB | rgb(56, 113, 172) |
| HSL | hsl(211, 51%, 45%) |
| HSV | hsv(211, 67%, 67%) |
| CMYK | cmyk(67.4%, 34.3%, 0%, 32.5%) |
| CIE-LAB | lab(46.48, 0.76, -36.99) |
| CIE-LCH | lch(46.48, 36.99, 271.17°) |
| OKLab | oklab(53.81% -0.0355 -0.1048) |
| OKLCH | oklch(53.81% 0.111 251.3) |
| XYZ | xyz(14.9797, 15.6280, 41.2488) |
| Luminance | 0.1563 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.00
Medium Blue
#2C6FBB
ΔE00 1.75
Muted Blue
#3B719F
ΔE00 2.07
Mid Blue
#276AB3
ΔE00 2.66
Bluish
#2976BB
ΔE00 2.67
Windows Blue
#3778BF
ΔE00 3.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3871AC #AC7338
analogous
#38ABAC #3871AC #3938AC
triadic
#3871AC #AC3871 #71AC38
tetradic
#3871AC #AC38AB #AC7338 #38AC39
square
#3871AC #AC38AB #AC7338 #38AC39
split-complementary
#3871AC #AC3938 #ABAC38
monochromatic
#1A3450 #29537E #3871AC #5890C9 #87AFD8
Accessibility & contrast
On white
5.09
#3871AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#3871AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3871AC
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3871AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3871AC | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5774AE
Deuteranopia (green-blind)
#4769AB
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #3871ac; /* rgb */ color: rgb(56, 113, 172); /* oklch */ color: oklch(53.8% 0.111 251.3);
Tailwind
colors: {
custom: {
50: '#7b99c5',
500: '#3871ac',
950: '#000000',
},
}SCSS
$custom: #3871ac; $custom-light: #7b99c5; $custom-dark: #000000;
JSON
{
"hex": "#3871ac",
"rgb": {
"r": 56,
"g": 113,
"b": 172
},
"hsl": {
"h": 210.517,
"s": 50.877,
"l": 44.706
},
"oklch": {
"l": 0.53814,
"c": 0.11068,
"h": 251.3
},
"luminance": 0.1563
}Semantic roles & 50–950 ramp
primary
#3871AC
secondary
#C2A07E
accent
#954DDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82