#2971B7#2971B7

#2971B7 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 53.9% C 0.130 H 251.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2971B7
RGBrgb(41, 113, 183)
HSLhsl(210, 63%, 44%)
HSVhsv(210, 78%, 72%)
CMYKcmyk(77.6%, 38.3%, 0%, 28.2%)
CIE-LABlab(46.58, 2.64, -43.27)
CIE-LCHlch(46.58, 43.35, 273.49°)
OKLaboklab(53.94% -0.0422 -0.1234)
OKLCHoklch(53.94% 0.13 251.1)
XYZxyz(15.3636, 15.6988, 47.0110)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2971B7 #B76F29
analogous
#29B7B6 #2971B7 #292AB7
triadic
#2971B7 #B72971 #71B729
tetradic
#2971B7 #B629B7 #B76F29 #2AB729
square
#2971B7 #B629B7 #B76F29 #2AB729
split-complementary
#2971B7 #B7292A #B7B629
monochromatic
#133353 #1E5285 #2971B7 #4790D6 #79AEE1

Accessibility & contrast

On white

5.07
#2971B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2971B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2971B7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2971B7#FFFFFF#000000##FFFFFF
##2971B71.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5075BA
Deuteranopia (green-blind)
#3A68B6
Tritanopia (blue-blind)
#00828B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2971b7;
/* rgb */ color: rgb(41, 113, 183);
/* oklch */ color: oklch(53.9% 0.130 251.1);
Tailwind
colors: {
  custom: {
    50: '#7899cd',
    500: '#2971b7',
    950: '#000000',
  },
}
SCSS
$custom: #2971b7;
$custom-light: #7899cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2971b7",
  "rgb": {
    "r": 41,
    "g": 113,
    "b": 183
  },
  "hsl": {
    "h": 209.577,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53941,
    "c": 0.13043,
    "h": 251.1
  },
  "luminance": 0.15701
}

Semantic roles & 50–950 ramp

primary
#2971B7
secondary
#C99D73
accent
#9341E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2971B7

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

Preview Lab → · Contrast checker → · Palette generator →

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