#2C71A7#2C71A7
#2C71A7 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.1% C 0.109 H 245.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2C71A7 |
|---|---|
| RGB | rgb(44, 113, 167) |
| HSL | hsl(206, 58%, 41%) |
| HSV | hsv(206, 74%, 65%) |
| CMYK | cmyk(73.7%, 32.3%, 0%, 34.5%) |
| CIE-LAB | lab(45.82, -2.92, -35.14) |
| CIE-LCH | lch(45.82, 35.26, 265.24°) |
| OKLab | oklab(53.09% -0.0449 -0.0996) |
| OKLCH | oklch(53.09% 0.109 245.7) |
| XYZ | xyz(13.9162, 15.1342, 38.7395) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 1.63
Flat Blue
#3C73A8
ΔE00 2.06
Bluish
#2976BB
ΔE00 2.98
Medium Blue
#2C6FBB
ΔE00 3.43
Mid Blue
#276AB3
ΔE00 3.68
Dull Blue
#49759C
ΔE00 3.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C71A7 #A7622C
analogous
#2CA7A0 #2C71A7 #2C34A7
triadic
#2C71A7 #A72C71 #71A72C
tetradic
#2C71A7 #A02CA7 #A7622C #34A72C
square
#2C71A7 #A02CA7 #A7622C #34A72C
split-complementary
#2C71A7 #A72C34 #A7A02C
monochromatic
#122F46 #1F5077 #2C71A7 #4391CD #73ADDA
Accessibility & contrast
On white
5.21
#2C71A7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#2C71A7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C71A7
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C71A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C71A7 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5873A9
Deuteranopia (green-blind)
#4767A6
Tritanopia (blue-blind)
#007E84
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2c71a7; /* rgb */ color: rgb(44, 113, 167); /* oklch */ color: oklch(53.1% 0.109 245.7);
Tailwind
colors: {
custom: {
50: '#7699c1',
500: '#2c71a7',
950: '#000000',
},
}SCSS
$custom: #2c71a7; $custom-light: #7699c1; $custom-dark: #000000;
JSON
{
"hex": "#2c71a7",
"rgb": {
"r": 44,
"g": 113,
"b": 167
},
"hsl": {
"h": 206.341,
"s": 58.294,
"l": 41.373
},
"oklch": {
"l": 0.53093,
"c": 0.10925,
"h": 245.7
},
"luminance": 0.15136
}Semantic roles & 50–950 ramp
primary
#2C71A7
secondary
#C2926D
accent
#8A46E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81