#2971CC#2971CC

#2971CC is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 55.3% C 0.158 H 256.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2971CC
RGBrgb(41, 113, 204)
HSLhsl(213, 67%, 48%)
HSVhsv(213, 80%, 80%)
CMYKcmyk(79.9%, 44.6%, 0%, 20%)
CIE-LABlab(47.80, 10.60, -53.41)
CIE-LCHlch(47.80, 54.45, 281.22°)
OKLaboklab(55.29% -0.0375 -0.1532)
OKLCHoklch(55.29% 0.158 256.2)
XYZxyz(17.7146, 16.6392, 59.3931)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2971CC #CC8429
analogous
#29C2CC #2971CC #3229CC
triadic
#2971CC #CC2971 #71CC29
tetradic
#2971CC #CC29C2 #CC8429 #29CC32
square
#2971CC #CC29C2 #CC8429 #29CC32
split-complementary
#2971CC #CC3229 #C2CC29
monochromatic
#153966 #1F5599 #2971CC #5591DD #88B2E7

Accessibility & contrast

On white

4.85
#2971CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2971CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2971CC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2971CC#FFFFFF#000000##FFFFFF
##2971CC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4179CF
Deuteranopia (green-blind)
#1D6BCA
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2971cc;
/* rgb */ color: rgb(41, 113, 204);
/* oklch */ color: oklch(55.3% 0.158 256.2);
Tailwind
colors: {
  custom: {
    50: '#7c99dc',
    500: '#2971cc',
    950: '#000000',
  },
}
SCSS
$custom: #2971cc;
$custom-light: #7c99dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2971cc",
  "rgb": {
    "r": 41,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 213.497,
    "s": 66.531,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55291,
    "c": 0.15773,
    "h": 256.2
  },
  "luminance": 0.16641
}

Semantic roles & 50–950 ramp

primary
#2971CC
secondary
#D1AD80
accent
#9E3EE9
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2971CC

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

Preview Lab → · Contrast checker → · Palette generator →

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