#2B71AB#2B71AB
#2B71AB is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.3% C 0.115 H 247.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2B71AB |
|---|---|
| RGB | rgb(43, 113, 171) |
| HSL | hsl(207, 60%, 42%) |
| HSV | hsv(207, 75%, 67%) |
| CMYK | cmyk(74.9%, 33.9%, 0%, 32.9%) |
| CIE-LAB | lab(45.99, -1.59, -37.21) |
| CIE-LCH | lch(45.99, 37.24, 267.55°) |
| OKLab | oklab(53.29% -0.0443 -0.1056) |
| OKLCH | oklch(53.29% 0.115 247.2) |
| XYZ | xyz(14.2493, 15.2625, 40.7152) |
| Luminance | 0.1526 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.82
Muted Blue
#3B719F
ΔE00 1.89
Bluish
#2976BB
ΔE00 2.52
Medium Blue
#2C6FBB
ΔE00 2.84
Mid Blue
#276AB3
ΔE00 3.26
Dull Blue
#49759C
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B71AB #AB652B
analogous
#2BABA5 #2B71AB #2B31AB
triadic
#2B71AB #AB2B71 #71AB2B
tetradic
#2B71AB #A52BAB #AB652B #31AB2B
square
#2B71AB #A52BAB #AB652B #31AB2B
split-complementary
#2B71AB #AB2B31 #ABA52B
monochromatic
#123049 #1F517A #2B71AB #4390D0 #74ADDC
Accessibility & contrast
On white
5.18
#2B71AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#2B71AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B71AB
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B71AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B71AB | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5673AD
Deuteranopia (green-blind)
#4468AA
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2b71ab; /* rgb */ color: rgb(43, 113, 171); /* oklch */ color: oklch(53.3% 0.115 247.2);
Tailwind
colors: {
custom: {
50: '#7699c4',
500: '#2b71ab',
950: '#000000',
},
}SCSS
$custom: #2b71ab; $custom-light: #7699c4; $custom-dark: #000000;
JSON
{
"hex": "#2b71ab",
"rgb": {
"r": 43,
"g": 113,
"b": 171
},
"hsl": {
"h": 207.188,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.53288,
"c": 0.11456,
"h": 247.2
},
"luminance": 0.15264
}Semantic roles & 50–950 ramp
primary
#2B71AB
secondary
#C4956E
accent
#8C45E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81