#2A71BB#2A71BB
#2A71BB is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.2% C 0.135 H 252.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2A71BB |
|---|---|
| RGB | rgb(42, 113, 187) |
| HSL | hsl(211, 63%, 45%) |
| HSV | hsv(211, 78%, 73%) |
| CMYK | cmyk(77.5%, 39.6%, 0%, 26.7%) |
| CIE-LAB | lab(46.83, 4.26, -45.19) |
| CIE-LCH | lch(46.83, 45.39, 275.39°) |
| OKLab | oklab(54.22% -0.0406 -0.129) |
| OKLCH | oklch(54.22% 0.135 252.5) |
| XYZ | xyz(15.8262, 15.8885, 49.2368) |
| Luminance | 0.1589 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.91
Bluish
#2976BB
ΔE00 2.09
Flat Blue
#3C73A8
ΔE00 2.27
Mid Blue
#276AB3
ΔE00 2.64
Windows Blue
#3778BF
ΔE00 2.67
Muted Blue
#3B719F
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A71BB #BB742A
analogous
#2AB9BB #2A71BB #2C2ABB
triadic
#2A71BB #BB2A71 #71BB2A
tetradic
#2A71BB #BB2AB9 #BB742A #2ABB2C
square
#2A71BB #BB2AB9 #BB742A #2ABB2C
split-complementary
#2A71BB #BB2C2A #B9BB2A
monochromatic
#143557 #1F5389 #2A71BB #4C90D7 #7DAFE2
Accessibility & contrast
On white
5.03
#2A71BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#2A71BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A71BB
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A71BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A71BB | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E76BE
Deuteranopia (green-blind)
#3669BA
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2a71bb; /* rgb */ color: rgb(42, 113, 187); /* oklch */ color: oklch(54.2% 0.135 252.5);
Tailwind
colors: {
custom: {
50: '#7999d0',
500: '#2a71bb',
950: '#000000',
},
}SCSS
$custom: #2a71bb; $custom-light: #7999d0; $custom-dark: #000000;
JSON
{
"hex": "#2a71bb",
"rgb": {
"r": 42,
"g": 113,
"b": 187
},
"hsl": {
"h": 210.621,
"s": 63.319,
"l": 44.902
},
"oklch": {
"l": 0.54218,
"c": 0.13527,
"h": 252.5
},
"luminance": 0.1589
}Semantic roles & 50–950 ramp
primary
#2A71BB
secondary
#CAA176
accent
#9641E6
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82