#2C71B9#2C71B9
#2C71B9 is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.2% C 0.132 H 252.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2C71B9 |
|---|---|
| RGB | rgb(44, 113, 185) |
| HSL | hsl(211, 62%, 45%) |
| HSV | hsv(211, 76%, 73%) |
| CMYK | cmyk(76.2%, 38.9%, 0%, 27.5%) |
| CIE-LAB | lab(46.77, 3.75, -44.11) |
| CIE-LCH | lch(46.77, 44.27, 274.86°) |
| OKLab | oklab(54.15% -0.04 -0.1258) |
| OKLCH | oklch(54.15% 0.132 252.4) |
| XYZ | xyz(15.6975, 15.8467, 48.1209) |
| Luminance | 0.1585 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.92
Bluish
#2976BB
ΔE00 2.10
Flat Blue
#3C73A8
ΔE00 2.10
Mid Blue
#276AB3
ΔE00 2.58
Windows Blue
#3778BF
ΔE00 2.71
Muted Blue
#3B719F
ΔE00 3.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C71B9 #B9742C
analogous
#2CB8B9 #2C71B9 #2D2CB9
triadic
#2C71B9 #B92C71 #71B92C
tetradic
#2C71B9 #B92CB8 #B9742C #2CB92D
square
#2C71B9 #B92CB8 #B9742C #2CB92D
split-complementary
#2C71B9 #B92D2C #B8B92C
monochromatic
#143556 #205388 #2C71B9 #4D90D5 #7FAFE1
Accessibility & contrast
On white
5.04
#2C71B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#2C71B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C71B9
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C71B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C71B9 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F76BC
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2c71b9; /* rgb */ color: rgb(44, 113, 185); /* oklch */ color: oklch(54.2% 0.132 252.4);
Tailwind
colors: {
custom: {
50: '#7999ce',
500: '#2c71b9',
950: '#000000',
},
}SCSS
$custom: #2c71b9; $custom-light: #7999ce; $custom-dark: #000000;
JSON
{
"hex": "#2c71b9",
"rgb": {
"r": 44,
"g": 113,
"b": 185
},
"hsl": {
"h": 210.638,
"s": 61.572,
"l": 44.902
},
"oklch": {
"l": 0.54154,
"c": 0.13205,
"h": 252.4
},
"luminance": 0.15849
}Semantic roles & 50–950 ramp
primary
#2C71B9
secondary
#C9A178
accent
#9643E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82