#2A71B4#2A71B4
#2A71B4 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.8% C 0.126 H 250.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2A71B4 |
|---|---|
| RGB | rgb(42, 113, 180) |
| HSL | hsl(209, 62%, 44%) |
| HSV | hsv(209, 77%, 71%) |
| CMYK | cmyk(76.7%, 37.2%, 0%, 29.4%) |
| CIE-LAB | lab(46.44, 1.63, -41.74) |
| CIE-LCH | lch(46.44, 41.78, 272.24°) |
| OKLab | oklab(53.79% -0.0424 -0.1189) |
| OKLCH | oklch(53.79% 0.126 250.4) |
| XYZ | xyz(15.0951, 15.5960, 45.3859) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.61
Flat Blue
#3C73A8
ΔE00 1.83
Bluish
#2976BB
ΔE00 1.96
Mid Blue
#276AB3
ΔE00 2.66
Muted Blue
#3B719F
ΔE00 2.70
Windows Blue
#3778BF
ΔE00 3.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A71B4 #B46D2A
analogous
#2AB4B2 #2A71B4 #2A2CB4
triadic
#2A71B4 #B42A71 #71B42A
tetradic
#2A71B4 #B22AB4 #B46D2A #2CB42A
square
#2A71B4 #B22AB4 #B46D2A #2CB42A
split-complementary
#2A71B4 #B42A2C #B4B22A
monochromatic
#133351 #1E5282 #2A71B4 #4790D4 #79AEE0
Accessibility & contrast
On white
5.10
#2A71B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#2A71B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A71B4
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A71B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A71B4 | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5275B7
Deuteranopia (green-blind)
#3D68B3
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2a71b4; /* rgb */ color: rgb(42, 113, 180); /* oklch */ color: oklch(53.8% 0.126 250.4);
Tailwind
colors: {
custom: {
50: '#7799cb',
500: '#2a71b4',
950: '#000000',
},
}SCSS
$custom: #2a71b4; $custom-light: #7799cb; $custom-dark: #000000;
JSON
{
"hex": "#2a71b4",
"rgb": {
"r": 42,
"g": 113,
"b": 180
},
"hsl": {
"h": 209.13,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.53788,
"c": 0.12626,
"h": 250.4
},
"luminance": 0.15598
}Semantic roles & 50–950 ramp
primary
#2A71B4
secondary
#C89C72
accent
#9243E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82