#2C71B8#2C71B8
#2C71B8 is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.1% C 0.131 H 252.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2C71B8 |
|---|---|
| RGB | rgb(44, 113, 184) |
| HSL | hsl(210, 61%, 45%) |
| HSV | hsv(210, 76%, 72%) |
| CMYK | cmyk(76.1%, 38.6%, 0%, 27.8%) |
| CIE-LAB | lab(46.72, 3.38, -43.62) |
| CIE-LCH | lch(46.72, 43.75, 274.43°) |
| OKLab | oklab(54.09% -0.0402 -0.1244) |
| OKLCH | oklch(54.09% 0.131 252.1) |
| XYZ | xyz(15.5923, 15.8046, 47.5669) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.00
Flat Blue
#3C73A8
ΔE00 2.02
Bluish
#2976BB
ΔE00 2.06
Mid Blue
#276AB3
ΔE00 2.57
Windows Blue
#3778BF
ΔE00 2.76
Muted Blue
#3B719F
ΔE00 3.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C71B8 #B8732C
analogous
#2CB7B8 #2C71B8 #2D2CB8
triadic
#2C71B8 #B82C71 #71B82C
tetradic
#2C71B8 #B82CB7 #B8732C #2CB82D
square
#2C71B8 #B82CB7 #B8732C #2CB82D
split-complementary
#2C71B8 #B82D2C #B7B82C
monochromatic
#143455 #205387 #2C71B8 #4D90D4 #7EAEE0
Accessibility & contrast
On white
5.05
#2C71B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#2C71B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C71B8
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C71B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C71B8 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5076BB
Deuteranopia (green-blind)
#3A69B7
Tritanopia (blue-blind)
#00828B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2c71b8; /* rgb */ color: rgb(44, 113, 184); /* oklch */ color: oklch(54.1% 0.131 252.1);
Tailwind
colors: {
custom: {
50: '#7999ce',
500: '#2c71b8',
950: '#000000',
},
}SCSS
$custom: #2c71b8; $custom-light: #7999ce; $custom-dark: #000000;
JSON
{
"hex": "#2c71b8",
"rgb": {
"r": 44,
"g": 113,
"b": 184
},
"hsl": {
"h": 210.429,
"s": 61.404,
"l": 44.706
},
"oklch": {
"l": 0.54093,
"c": 0.13075,
"h": 252.1
},
"luminance": 0.15806
}Semantic roles & 50–950 ramp
primary
#2C71B8
secondary
#C9A077
accent
#9543E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82