#2B71BB#2B71BB
#2B71BB is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.2% C 0.135 H 252.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2B71BB |
|---|---|
| RGB | rgb(43, 113, 187) |
| HSL | hsl(211, 63%, 45%) |
| HSV | hsv(211, 77%, 73%) |
| CMYK | cmyk(77%, 39.6%, 0%, 26.7%) |
| CIE-LAB | lab(46.86, 4.38, -45.14) |
| CIE-LCH | lch(46.86, 45.35, 275.55°) |
| OKLab | oklab(54.25% -0.0401 -0.1289) |
| OKLCH | oklch(54.25% 0.135 252.7) |
| XYZ | xyz(15.8677, 15.9098, 49.2387) |
| Luminance | 0.1591 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.85
Bluish
#2976BB
ΔE00 2.14
Flat Blue
#3C73A8
ΔE00 2.27
Mid Blue
#276AB3
ΔE00 2.63
Windows Blue
#3778BF
ΔE00 2.65
Muted Blue
#3B719F
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B71BB #BB752B
analogous
#2BB9BB #2B71BB #2D2BBB
triadic
#2B71BB #BB2B71 #71BB2B
tetradic
#2B71BB #BB2BB9 #BB752B #2BBB2D
square
#2B71BB #BB2BB9 #BB752B #2BBB2D
split-complementary
#2B71BB #BB2D2B #B9BB2B
monochromatic
#143557 #205389 #2B71BB #4D90D6 #7FAFE2
Accessibility & contrast
On white
5.02
#2B71BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#2B71BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B71BB
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B71BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B71BB | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E76BE
Deuteranopia (green-blind)
#3769BA
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2b71bb; /* rgb */ color: rgb(43, 113, 187); /* oklch */ color: oklch(54.2% 0.135 252.7);
Tailwind
colors: {
custom: {
50: '#7999d0',
500: '#2b71bb',
950: '#000000',
},
}SCSS
$custom: #2b71bb; $custom-light: #7999d0; $custom-dark: #000000;
JSON
{
"hex": "#2b71bb",
"rgb": {
"r": 43,
"g": 113,
"b": 187
},
"hsl": {
"h": 210.833,
"s": 62.609,
"l": 45.098
},
"oklch": {
"l": 0.54248,
"c": 0.13497,
"h": 252.7
},
"luminance": 0.15912
}Semantic roles & 50–950 ramp
primary
#2B71BB
secondary
#CAA278
accent
#9642E6
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82