#2C71AB#2C71AB
#2C71AB is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.3% C 0.114 H 247.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2C71AB |
|---|---|
| RGB | rgb(44, 113, 171) |
| HSL | hsl(207, 59%, 42%) |
| HSV | hsv(207, 74%, 67%) |
| CMYK | cmyk(74.3%, 33.9%, 0%, 32.9%) |
| CIE-LAB | lab(46.02, -1.45, -37.16) |
| CIE-LCH | lch(46.02, 37.19, 267.76°) |
| OKLab | oklab(53.32% -0.0437 -0.1055) |
| OKLCH | oklch(53.32% 0.114 247.5) |
| XYZ | xyz(14.2917, 15.2844, 40.7171) |
| Luminance | 0.1529 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.72
Muted Blue
#3B719F
ΔE00 1.85
Bluish
#2976BB
ΔE00 2.49
Medium Blue
#2C6FBB
ΔE00 2.74
Mid Blue
#276AB3
ΔE00 3.19
Dull Blue
#49759C
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C71AB #AB662C
analogous
#2CABA6 #2C71AB #2C31AB
triadic
#2C71AB #AB2C71 #71AB2C
tetradic
#2C71AB #A62CAB #AB662C #31AB2C
square
#2C71AB #A62CAB #AB662C #31AB2C
split-complementary
#2C71AB #AB2C31 #ABA62C
monochromatic
#13314A #1F517A #2C71AB #4590CF #76ADDC
Accessibility & contrast
On white
5.18
#2C71AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#2C71AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C71AB
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C71AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C71AB | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5774AD
Deuteranopia (green-blind)
#4468AA
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2c71ab; /* rgb */ color: rgb(44, 113, 171); /* oklch */ color: oklch(53.3% 0.114 247.5);
Tailwind
colors: {
custom: {
50: '#7699c4',
500: '#2c71ab',
950: '#000000',
},
}SCSS
$custom: #2c71ab; $custom-light: #7699c4; $custom-dark: #000000;
JSON
{
"hex": "#2c71ab",
"rgb": {
"r": 44,
"g": 113,
"b": 171
},
"hsl": {
"h": 207.402,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.5332,
"c": 0.11419,
"h": 247.5
},
"luminance": 0.15286
}Semantic roles & 50–950 ramp
primary
#2C71AB
secondary
#C3966F
accent
#8D46E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81