#2B71B7#2B71B7
#2B71B7 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.0% C 0.130 H 251.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2B71B7 |
|---|---|
| RGB | rgb(43, 113, 183) |
| HSL | hsl(210, 62%, 44%) |
| HSV | hsv(210, 77%, 72%) |
| CMYK | cmyk(76.5%, 38.3%, 0%, 28.2%) |
| CIE-LAB | lab(46.63, 2.88, -43.18) |
| CIE-LCH | lch(46.63, 43.27, 273.82°) |
| OKLab | oklab(54% -0.0411 -0.1231) |
| OKLCH | oklch(54% 0.13 251.6) |
| XYZ | xyz(15.4454, 15.7409, 47.0148) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.17
Flat Blue
#3C73A8
ΔE00 1.97
Bluish
#2976BB
ΔE00 1.99
Mid Blue
#276AB3
ΔE00 2.58
Windows Blue
#3778BF
ΔE00 2.84
Muted Blue
#3B719F
ΔE00 3.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B71B7 #B7712B
analogous
#2BB7B7 #2B71B7 #2B2BB7
triadic
#2B71B7 #B72B71 #71B72B
tetradic
#2B71B7 #B72BB7 #B7712B #2BB72B
square
#2B71B7 #B72BB7 #B7712B #2BB72B
split-complementary
#2B71B7 #B72B2B #B7B72B
monochromatic
#143454 #1F5285 #2B71B7 #4B90D5 #7CAEE0
Accessibility & contrast
On white
5.06
#2B71B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#2B71B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B71B7
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B71B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B71B7 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5076BA
Deuteranopia (green-blind)
#3B69B6
Tritanopia (blue-blind)
#00828B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2b71b7; /* rgb */ color: rgb(43, 113, 183); /* oklch */ color: oklch(54.0% 0.130 251.6);
Tailwind
colors: {
custom: {
50: '#7899cd',
500: '#2b71b7',
950: '#000000',
},
}SCSS
$custom: #2b71b7; $custom-light: #7899cd; $custom-dark: #000000;
JSON
{
"hex": "#2b71b7",
"rgb": {
"r": 43,
"g": 113,
"b": 183
},
"hsl": {
"h": 210,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.54001,
"c": 0.12978,
"h": 251.6
},
"luminance": 0.15743
}Semantic roles & 50–950 ramp
primary
#2B71B7
secondary
#C99F75
accent
#9443E5
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0D13
muted
#7C7E82