#2B71B1#2B71B1
#2B71B1 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.6% C 0.122 H 249.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2B71B1 |
|---|---|
| RGB | rgb(43, 113, 177) |
| HSL | hsl(209, 61%, 43%) |
| HSV | hsv(209, 76%, 69%) |
| CMYK | cmyk(75.7%, 36.2%, 0%, 30.6%) |
| CIE-LAB | lab(46.31, 0.64, -40.21) |
| CIE-LCH | lch(46.31, 40.21, 270.91°) |
| OKLab | oklab(53.64% -0.0426 -0.1144) |
| OKLCH | oklch(53.64% 0.122 249.6) |
| XYZ | xyz(14.8342, 15.4965, 43.7958) |
| Luminance | 0.1550 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.69
Medium Blue
#2C6FBB
ΔE00 1.92
Bluish
#2976BB
ΔE00 2.06
Muted Blue
#3B719F
ΔE00 2.41
Mid Blue
#276AB3
ΔE00 2.76
Windows Blue
#3778BF
ΔE00 3.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B71B1 #B16B2B
analogous
#2BB1AE #2B71B1 #2B2EB1
triadic
#2B71B1 #B12B71 #71B12B
tetradic
#2B71B1 #AE2BB1 #B16B2B #2EB12B
square
#2B71B1 #AE2BB1 #B16B2B #2EB12B
split-complementary
#2B71B1 #B12B2E #B1AE2B
monochromatic
#13324F #1F5280 #2B71B1 #4790D2 #78ADDE
Accessibility & contrast
On white
5.12
#2B71B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#2B71B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B71B1
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B71B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B71B1 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5374B4
Deuteranopia (green-blind)
#4068B0
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2b71b1; /* rgb */ color: rgb(43, 113, 177); /* oklch */ color: oklch(53.6% 0.122 249.6);
Tailwind
colors: {
custom: {
50: '#7799c8',
500: '#2b71b1',
950: '#000000',
},
}SCSS
$custom: #2b71b1; $custom-light: #7799c8; $custom-dark: #000000;
JSON
{
"hex": "#2b71b1",
"rgb": {
"r": 43,
"g": 113,
"b": 177
},
"hsl": {
"h": 208.657,
"s": 60.909,
"l": 43.137
},
"oklch": {
"l": 0.53639,
"c": 0.1221,
"h": 249.6
},
"luminance": 0.15498
}Semantic roles & 50–950 ramp
primary
#2B71B1
secondary
#C69A72
accent
#9044E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82