#2C71B5#2C71B5
#2C71B5 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 53.9% C 0.127 H 251.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2C71B5 |
|---|---|
| RGB | rgb(44, 113, 181) |
| HSL | hsl(210, 61%, 44%) |
| HSV | hsv(210, 76%, 71%) |
| CMYK | cmyk(75.7%, 37.6%, 0%, 29%) |
| CIE-LAB | lab(46.55, 2.26, -42.14) |
| CIE-LCH | lch(46.55, 42.20, 273.07°) |
| OKLab | oklab(53.91% -0.041 -0.1201) |
| OKLCH | oklch(53.91% 0.127 251.2) |
| XYZ | xyz(15.2812, 15.6802, 45.9283) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.32
Flat Blue
#3C73A8
ΔE00 1.82
Bluish
#2976BB
ΔE00 2.01
Mid Blue
#276AB3
ΔE00 2.58
Muted Blue
#3B719F
ΔE00 2.81
Windows Blue
#3778BF
ΔE00 2.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C71B5 #B5702C
analogous
#2CB5B5 #2C71B5 #2C2DB5
triadic
#2C71B5 #B52C71 #71B52C
tetradic
#2C71B5 #B52CB5 #B5702C #2DB52C
square
#2C71B5 #B52CB5 #B5702C #2DB52C
split-complementary
#2C71B5 #B52C2D #B5B52C
monochromatic
#143453 #205284 #2C71B5 #4B90D3 #7CAEDF
Accessibility & contrast
On white
5.08
#2C71B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#2C71B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C71B5
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C71B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C71B5 | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5175B8
Deuteranopia (green-blind)
#3D69B4
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2c71b5; /* rgb */ color: rgb(44, 113, 181); /* oklch */ color: oklch(53.9% 0.127 251.2);
Tailwind
colors: {
custom: {
50: '#7899cb',
500: '#2c71b5',
950: '#000000',
},
}SCSS
$custom: #2c71b5; $custom-light: #7899cb; $custom-dark: #000000;
JSON
{
"hex": "#2c71b5",
"rgb": {
"r": 44,
"g": 113,
"b": 181
},
"hsl": {
"h": 209.781,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.5391,
"c": 0.12688,
"h": 251.2
},
"luminance": 0.15682
}Semantic roles & 50–950 ramp
primary
#2C71B5
secondary
#C89E75
accent
#9344E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82