#2B71A7#2B71A7
#2B71A7 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.1% C 0.110 H 245.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2B71A7 |
|---|---|
| RGB | rgb(43, 113, 167) |
| HSL | hsl(206, 59%, 41%) |
| HSV | hsv(206, 74%, 65%) |
| CMYK | cmyk(74.3%, 32.3%, 0%, 34.5%) |
| CIE-LAB | lab(45.79, -3.06, -35.19) |
| CIE-LCH | lch(45.79, 35.32, 265.02°) |
| OKLab | oklab(53.06% -0.0455 -0.0997) |
| OKLCH | oklch(53.06% 0.11 245.5) |
| XYZ | xyz(13.8738, 15.1123, 38.7375) |
| Luminance | 0.1511 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 1.71
Flat Blue
#3C73A8
ΔE00 2.17
Bluish
#2976BB
ΔE00 3.02
Medium Blue
#2C6FBB
ΔE00 3.53
Dull Blue
#49759C
ΔE00 3.75
Mid Blue
#276AB3
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B71A7 #A7612B
analogous
#2BA79F #2B71A7 #2B33A7
triadic
#2B71A7 #A72B71 #71A72B
tetradic
#2B71A7 #9F2BA7 #A7612B #33A72B
square
#2B71A7 #9F2BA7 #A7612B #33A72B
split-complementary
#2B71A7 #A72B33 #A79F2B
monochromatic
#122F46 #1E5076 #2B71A7 #4191CE #72ADDB
Accessibility & contrast
On white
5.22
#2B71A7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#2B71A7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B71A7
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B71A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B71A7 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5873A9
Deuteranopia (green-blind)
#4767A6
Tritanopia (blue-blind)
#007E84
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2b71a7; /* rgb */ color: rgb(43, 113, 167); /* oklch */ color: oklch(53.1% 0.110 245.5);
Tailwind
colors: {
custom: {
50: '#7599c1',
500: '#2b71a7',
950: '#000000',
},
}SCSS
$custom: #2b71a7; $custom-light: #7599c1; $custom-dark: #000000;
JSON
{
"hex": "#2b71a7",
"rgb": {
"r": 43,
"g": 113,
"b": 167
},
"hsl": {
"h": 206.129,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.53061,
"c": 0.10964,
"h": 245.5
},
"luminance": 0.15114
}Semantic roles & 50–950 ramp
primary
#2B71A7
secondary
#C2916C
accent
#8A46E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81