#2A71B6#2A71B6
#2A71B6 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 53.9% C 0.129 H 251.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2A71B6 |
|---|---|
| RGB | rgb(42, 113, 182) |
| HSL | hsl(210, 63%, 44%) |
| HSV | hsv(210, 77%, 71%) |
| CMYK | cmyk(76.9%, 37.9%, 0%, 28.6%) |
| CIE-LAB | lab(46.55, 2.38, -42.73) |
| CIE-LCH | lch(46.55, 42.80, 273.19°) |
| OKLab | oklab(53.91% -0.0419 -0.1218) |
| OKLCH | oklch(53.91% 0.129 251) |
| XYZ | xyz(15.3003, 15.6781, 46.4667) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.37
Flat Blue
#3C73A8
ΔE00 1.93
Bluish
#2976BB
ΔE00 1.95
Mid Blue
#276AB3
ΔE00 2.61
Muted Blue
#3B719F
ΔE00 2.90
Windows Blue
#3778BF
ΔE00 2.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A71B6 #B66F2A
analogous
#2AB6B5 #2A71B6 #2A2BB6
triadic
#2A71B6 #B62A71 #71B62A
tetradic
#2A71B6 #B52AB6 #B66F2A #2BB62A
square
#2A71B6 #B52AB6 #B66F2A #2BB62A
split-complementary
#2A71B6 #B62A2B #B6B52A
monochromatic
#133353 #1F5284 #2A71B6 #4890D5 #7AAEE0
Accessibility & contrast
On white
5.08
#2A71B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#2A71B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A71B6
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A71B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A71B6 | 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)
#5175B9
Deuteranopia (green-blind)
#3B68B5
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2a71b6; /* rgb */ color: rgb(42, 113, 182); /* oklch */ color: oklch(53.9% 0.129 251.0);
Tailwind
colors: {
custom: {
50: '#7899cc',
500: '#2a71b6',
950: '#000000',
},
}SCSS
$custom: #2a71b6; $custom-light: #7899cc; $custom-dark: #000000;
JSON
{
"hex": "#2a71b6",
"rgb": {
"r": 42,
"g": 113,
"b": 182
},
"hsl": {
"h": 209.571,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.53909,
"c": 0.12882,
"h": 251
},
"luminance": 0.1568
}Semantic roles & 50–950 ramp
primary
#2A71B6
secondary
#C89D73
accent
#9342E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0D13
muted
#7C7E82