#3871AB#3871AB
#3871AB is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.8% C 0.109 H 250.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #3871AB |
|---|---|
| RGB | rgb(56, 113, 171) |
| HSL | hsl(210, 51%, 45%) |
| HSV | hsv(210, 67%, 67%) |
| CMYK | cmyk(67.3%, 33.9%, 0%, 32.9%) |
| CIE-LAB | lab(46.43, 0.40, -36.48) |
| CIE-LCH | lch(46.43, 36.48, 270.63°) |
| OKLab | oklab(53.76% -0.0358 -0.1034) |
| OKLCH | oklch(53.76% 0.109 250.9) |
| XYZ | xyz(14.8840, 15.5898, 40.7449) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 0.92
Medium Blue
#2C6FBB
ΔE00 1.87
Muted Blue
#3B719F
ΔE00 1.93
Bluish
#2976BB
ΔE00 2.69
Mid Blue
#276AB3
ΔE00 2.70
Dull Blue
#49759C
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3871AB #AB7238
analogous
#38ABAB #3871AB #3938AB
triadic
#3871AB #AB3871 #71AB38
tetradic
#3871AB #AB38AB #AB7238 #38AB39
square
#3871AB #AB38AB #AB7238 #38AB39
split-complementary
#3871AB #AB3938 #ABAB38
monochromatic
#1A344F #29537D #3871AB #5890C8 #86AED7
Accessibility & contrast
On white
5.10
#3871AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#3871AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3871AB
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3871AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3871AB | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5774AD
Deuteranopia (green-blind)
#4769AA
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #3871ab; /* rgb */ color: rgb(56, 113, 171); /* oklch */ color: oklch(53.8% 0.109 250.9);
Tailwind
colors: {
custom: {
50: '#7b99c4',
500: '#3871ab',
950: '#000000',
},
}SCSS
$custom: #3871ab; $custom-light: #7b99c4; $custom-dark: #000000;
JSON
{
"hex": "#3871ab",
"rgb": {
"r": 56,
"g": 113,
"b": 171
},
"hsl": {
"h": 210.261,
"s": 50.661,
"l": 44.51
},
"oklch": {
"l": 0.53757,
"c": 0.10938,
"h": 250.9
},
"luminance": 0.15591
}Semantic roles & 50–950 ramp
primary
#3871AB
secondary
#C1A07D
accent
#954EDA
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81