#2971C5#2971C5

#2971C5 is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.8% C 0.149 H 254.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2971C5
RGBrgb(41, 113, 197)
HSLhsl(212, 66%, 47%)
HSVhsv(212, 79%, 77%)
CMYKcmyk(79.2%, 42.6%, 0%, 22.7%)
CIE-LABlab(47.38, 7.94, -50.07)
CIE-LCHlch(47.38, 50.70, 279.01°)
OKLaboklab(54.83% -0.0389 -0.1434)
OKLCHoklch(54.83% 0.149 254.8)
XYZxyz(16.8939, 16.3109, 55.0704)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2971C5 #C57D29
analogous
#29BFC5 #2971C5 #2F29C5
triadic
#2971C5 #C52971 #71C529
tetradic
#2971C5 #C529BF #C57D29 #29C52F
square
#2971C5 #C529BF #C57D29 #29C52F
split-complementary
#2971C5 #C52F29 #BFC529
monochromatic
#143760 #1E5492 #2971C5 #5190DB #83B0E5

Accessibility & contrast

On white

4.93
#2971C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2971C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2971C5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2971C5#FFFFFF#000000##FFFFFF
##2971C51.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4778C8
Deuteranopia (green-blind)
#2A6AC3
Tritanopia (blue-blind)
#008591
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2971c5;
/* rgb */ color: rgb(41, 113, 197);
/* oklch */ color: oklch(54.8% 0.149 254.8);
Tailwind
colors: {
  custom: {
    50: '#7b99d7',
    500: '#2971c5',
    950: '#000000',
  },
}
SCSS
$custom: #2971c5;
$custom-light: #7b99d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2971c5",
  "rgb": {
    "r": 41,
    "g": 113,
    "b": 197
  },
  "hsl": {
    "h": 212.308,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54827,
    "c": 0.14858,
    "h": 254.8
  },
  "luminance": 0.16313
}

Semantic roles & 50–950 ramp

primary
#2971C5
secondary
#CEA87C
accent
#9A3FE8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2971C5

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2971C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva