#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
RGBrgb(41, 113, 178)
HSLhsl(208, 63%, 43%)
HSVhsv(208, 77%, 70%)
CMYKcmyk(77%, 36.5%, 0%, 30.2%)
CIE-LABlab(46.30, 0.76, -40.80)
CIE-LCHlch(46.30, 40.81, 271.07°)
OKLaboklab(53.64% -0.0435 -0.1162)
OKLCHoklch(53.64% 0.124 249.5)
XYZxyz(14.8524, 15.4943, 44.3188)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

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
##2971B21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.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

Preview Lab

Preview with #2971B2

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

Preview Lab → · Contrast checker → · Palette generator →

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