#2971AD#2971AD

#2971AD is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.3% C 0.118 H 247.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2971AD
RGBrgb(41, 113, 173)
HSLhsl(207, 62%, 42%)
HSVhsv(207, 76%, 68%)
CMYKcmyk(76.3%, 34.7%, 0%, 32.2%)
CIE-LABlab(46.04, -1.11, -38.30)
CIE-LCHlch(46.04, 38.32, 268.34°)
OKLaboklab(53.34% -0.0449 -0.1089)
OKLCHoklch(53.34% 0.118 247.6)
XYZxyz(14.3595, 15.2971, 41.7229)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2971AD #AD6529
analogous
#29ADA7 #2971AD #292FAD
triadic
#2971AD #AD2971 #71AD29
tetradic
#2971AD #A729AD #AD6529 #2FAD29
square
#2971AD #A729AD #AD6529 #2FAD29
split-complementary
#2971AD #AD292F #ADA729
monochromatic
#12304A #1D517C #2971AD #4190D2 #73ADDE

Accessibility & contrast

On white

5.17
#2971AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2971AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2971AD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2971AD#FFFFFF#000000##FFFFFF
##2971AD1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5574B0
Deuteranopia (green-blind)
#4268AC
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2971ad;
/* rgb */ color: rgb(41, 113, 173);
/* oklch */ color: oklch(53.3% 0.118 247.6);
Tailwind
colors: {
  custom: {
    50: '#7699c6',
    500: '#2971ad',
    950: '#000000',
  },
}
SCSS
$custom: #2971ad;
$custom-light: #7699c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2971ad",
  "rgb": {
    "r": 41,
    "g": 113,
    "b": 173
  },
  "hsl": {
    "h": 207.273,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53343,
    "c": 0.11775,
    "h": 247.6
  },
  "luminance": 0.15299
}

Semantic roles & 50–950 ramp

primary
#2971AD
secondary
#C5956D
accent
#8D43E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2971AD

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

Preview Lab → · Contrast checker → · Palette generator →

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