#2971B2#2971B2
#2971B2 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.6% C 0.124 H 249.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2971B2 |
|---|---|
| RGB | rgb(41, 113, 178) |
| HSL | hsl(208, 63%, 43%) |
| HSV | hsv(208, 77%, 70%) |
| CMYK | cmyk(77%, 36.5%, 0%, 30.2%) |
| CIE-LAB | lab(46.30, 0.76, -40.80) |
| CIE-LCH | lch(46.30, 40.81, 271.07°) |
| OKLab | oklab(53.64% -0.0435 -0.1162) |
| OKLCH | oklch(53.64% 0.124 249.5) |
| XYZ | xyz(14.8524, 15.4943, 44.3188) |
| Luminance | 0.1550 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.83
Medium Blue
#2C6FBB
ΔE00 1.96
Bluish
#2976BB
ΔE00 2.02
Muted Blue
#3B719F
ΔE00 2.52
Mid Blue
#276AB3
ΔE00 2.80
Windows Blue
#3778BF
ΔE00 3.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2971B2 #B26A29
analogous
#29B2AE #2971B2 #292DB2
triadic
#2971B2 #B22971 #71B229
tetradic
#2971B2 #AE29B2 #B26A29 #2DB229
square
#2971B2 #AE29B2 #B26A29 #2DB229
split-complementary
#2971B2 #B2292D #B2AE29
monochromatic
#12324F #1E5180 #2971B2 #4490D4 #76ADDF
Accessibility & contrast
On white
5.12
#2971B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#2971B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2971B2
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2971B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2971B2 | 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)
#5375B5
Deuteranopia (green-blind)
#3E68B1
Tritanopia (blue-blind)
#008089
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2971b2; /* rgb */ color: rgb(41, 113, 178); /* oklch */ color: oklch(53.6% 0.124 249.5);
Tailwind
colors: {
custom: {
50: '#7799c9',
500: '#2971b2',
950: '#000000',
},
}SCSS
$custom: #2971b2; $custom-light: #7799c9; $custom-dark: #000000;
JSON
{
"hex": "#2971b2",
"rgb": {
"r": 41,
"g": 113,
"b": 178
},
"hsl": {
"h": 208.467,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.53638,
"c": 0.12404,
"h": 249.5
},
"luminance": 0.15496
}Semantic roles & 50–950 ramp
primary
#2971B2
secondary
#C79970
accent
#9042E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82