#2C71B7#2C71B7
#2C71B7 is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.0% C 0.129 H 251.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2C71B7 |
|---|---|
| RGB | rgb(44, 113, 183) |
| HSL | hsl(210, 61%, 45%) |
| HSV | hsv(210, 76%, 72%) |
| CMYK | cmyk(76%, 38.3%, 0%, 28.2%) |
| CIE-LAB | lab(46.66, 3.01, -43.13) |
| CIE-LCH | lch(46.66, 43.24, 273.99°) |
| OKLab | oklab(54.03% -0.0405 -0.123) |
| OKLCH | oklch(54.03% 0.129 251.8) |
| XYZ | xyz(15.4879, 15.7628, 47.0168) |
| Luminance | 0.1577 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.10
Flat Blue
#3C73A8
ΔE00 1.95
Bluish
#2976BB
ΔE00 2.03
Mid Blue
#276AB3
ΔE00 2.56
Windows Blue
#3778BF
ΔE00 2.81
Muted Blue
#3B719F
ΔE00 3.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C71B7 #B7722C
analogous
#2CB6B7 #2C71B7 #2D2CB7
triadic
#2C71B7 #B72C71 #71B72C
tetradic
#2C71B7 #B72CB6 #B7722C #2CB72D
square
#2C71B7 #B72CB6 #B7722C #2CB72D
split-complementary
#2C71B7 #B72D2C #B6B72C
monochromatic
#143454 #205386 #2C71B7 #4C90D4 #7EAEE0
Accessibility & contrast
On white
5.06
#2C71B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#2C71B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C71B7
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C71B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C71B7 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5076BA
Deuteranopia (green-blind)
#3B69B6
Tritanopia (blue-blind)
#00828B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2c71b7; /* rgb */ color: rgb(44, 113, 183); /* oklch */ color: oklch(54.0% 0.129 251.8);
Tailwind
colors: {
custom: {
50: '#7999cd',
500: '#2c71b7',
950: '#000000',
},
}SCSS
$custom: #2c71b7; $custom-light: #7999cd; $custom-dark: #000000;
JSON
{
"hex": "#2c71b7",
"rgb": {
"r": 44,
"g": 113,
"b": 183
},
"hsl": {
"h": 210.216,
"s": 61.233,
"l": 44.51
},
"oklch": {
"l": 0.54031,
"c": 0.12946,
"h": 251.8
},
"luminance": 0.15765
}Semantic roles & 50–950 ramp
primary
#2C71B7
secondary
#C8A076
accent
#9443E4
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0D13
muted
#7C7E82