#2871AB#2871AB
#2871AB is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.2% C 0.116 H 246.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2871AB |
|---|---|
| RGB | rgb(40, 113, 171) |
| HSL | hsl(207, 62%, 41%) |
| HSV | hsv(207, 77%, 67%) |
| CMYK | cmyk(76.6%, 33.9%, 0%, 32.9%) |
| CIE-LAB | lab(45.91, -1.98, -37.35) |
| CIE-LCH | lch(45.91, 37.40, 266.97°) |
| OKLab | oklab(53.2% -0.046 -0.1061) |
| OKLCH | oklch(53.2% 0.116 246.6) |
| XYZ | xyz(14.1281, 15.2000, 40.7095) |
| Luminance | 0.1520 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 2.03
Flat Blue
#3C73A8
ΔE00 2.10
Bluish
#2976BB
ΔE00 2.63
Medium Blue
#2C6FBB
ΔE00 3.11
Mid Blue
#276AB3
ΔE00 3.47
Dull Blue
#49759C
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2871AB #AB6228
analogous
#28ABA4 #2871AB #2830AB
triadic
#2871AB #AB2871 #71AB28
tetradic
#2871AB #A428AB #AB6228 #30AB28
square
#2871AB #A428AB #AB6228 #30AB28
split-complementary
#2871AB #AB2830 #ABA428
monochromatic
#112F48 #1C5079 #2871AB #3E91D2 #70ADDE
Accessibility & contrast
On white
5.20
#2871AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#2871AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2871AB
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2871AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2871AB | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5673AD
Deuteranopia (green-blind)
#4467AA
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2871ab; /* rgb */ color: rgb(40, 113, 171); /* oklch */ color: oklch(53.2% 0.116 246.6);
Tailwind
colors: {
custom: {
50: '#7599c4',
500: '#2871ab',
950: '#000000',
},
}SCSS
$custom: #2871ab; $custom-light: #7599c4; $custom-dark: #000000;
JSON
{
"hex": "#2871ab",
"rgb": {
"r": 40,
"g": 113,
"b": 171
},
"hsl": {
"h": 206.565,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.53198,
"c": 0.11562,
"h": 246.6
},
"luminance": 0.15202
}Semantic roles & 50–950 ramp
primary
#2871AB
secondary
#C4926A
accent
#8B43E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81