#2C71AC#2C71AC

#2C71AC is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.4% C 0.115 H 247.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2C71AC
RGBrgb(44, 113, 172)
HSLhsl(208, 59%, 42%)
HSVhsv(208, 74%, 67%)
CMYKcmyk(74.4%, 34.3%, 0%, 32.5%)
CIE-LABlab(46.07, -1.08, -37.66)
CIE-LCHlch(46.07, 37.68, 268.35°)
OKLaboklab(53.38% -0.0434 -0.107)
OKLCHoklch(53.38% 0.115 247.9)
XYZxyz(14.3874, 15.3226, 41.2210)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C71AC #AC672C
analogous
#2CACA7 #2C71AC #2C31AC
triadic
#2C71AC #AC2C71 #71AC2C
tetradic
#2C71AC #A72CAC #AC672C #31AC2C
square
#2C71AC #A72CAC #AC672C #31AC2C
split-complementary
#2C71AC #AC2C31 #ACA72C
monochromatic
#13314B #20517B #2C71AC #4690D0 #76ADDC

Accessibility & contrast

On white

5.17
#2C71AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2C71AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C71AC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C71AC#FFFFFF#000000##FFFFFF
##2C71AC1.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)
#5674AE
Deuteranopia (green-blind)
#4468AB
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c71ac;
/* rgb */ color: rgb(44, 113, 172);
/* oklch */ color: oklch(53.4% 0.115 247.9);
Tailwind
colors: {
  custom: {
    50: '#7699c5',
    500: '#2c71ac',
    950: '#000000',
  },
}
SCSS
$custom: #2c71ac;
$custom-light: #7699c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c71ac",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 207.656,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53378,
    "c": 0.11544,
    "h": 247.9
  },
  "luminance": 0.15324
}

Semantic roles & 50–950 ramp

primary
#2C71AC
secondary
#C49770
accent
#8E45E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C71AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2C71AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva