#2B71A8#2B71A8
#2B71A8 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.1% C 0.111 H 245.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2B71A8 |
|---|---|
| RGB | rgb(43, 113, 168) |
| HSL | hsl(206, 59%, 41%) |
| HSV | hsv(206, 74%, 66%) |
| CMYK | cmyk(74.4%, 32.7%, 0%, 34.1%) |
| CIE-LAB | lab(45.84, -2.70, -35.69) |
| CIE-LCH | lch(45.84, 35.79, 265.68°) |
| OKLab | oklab(53.12% -0.0452 -0.1012) |
| OKLCH | oklch(53.12% 0.111 245.9) |
| XYZ | xyz(13.9666, 15.1494, 39.2262) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 1.73
Flat Blue
#3C73A8
ΔE00 2.06
Bluish
#2976BB
ΔE00 2.88
Medium Blue
#2C6FBB
ΔE00 3.35
Mid Blue
#276AB3
ΔE00 3.62
Dull Blue
#49759C
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B71A8 #A8622B
analogous
#2BA8A1 #2B71A8 #2B33A8
triadic
#2B71A8 #A82B71 #71A82B
tetradic
#2B71A8 #A12BA8 #A8622B #33A82B
square
#2B71A8 #A12BA8 #A8622B #33A82B
split-complementary
#2B71A8 #A82B33 #A8A12B
monochromatic
#122F47 #1F5077 #2B71A8 #4291CF #72ADDB
Accessibility & contrast
On white
5.21
#2B71A8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#2B71A8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B71A8
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B71A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B71A8 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5873AA
Deuteranopia (green-blind)
#4667A7
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2b71a8; /* rgb */ color: rgb(43, 113, 168); /* oklch */ color: oklch(53.1% 0.111 245.9);
Tailwind
colors: {
custom: {
50: '#7599c2',
500: '#2b71a8',
950: '#000000',
},
}SCSS
$custom: #2b71a8; $custom-light: #7599c2; $custom-dark: #000000;
JSON
{
"hex": "#2b71a8",
"rgb": {
"r": 43,
"g": 113,
"b": 168
},
"hsl": {
"h": 206.4,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.53117,
"c": 0.11085,
"h": 245.9
},
"luminance": 0.15151
}Semantic roles & 50–950 ramp
primary
#2B71A8
secondary
#C2926C
accent
#8A45E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81