#2C71C1#2C71C1

#2C71C1 is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.7% C 0.142 H 254.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2C71C1
RGBrgb(44, 113, 193)
HSLhsl(212, 63%, 46%)
HSVhsv(212, 77%, 76%)
CMYKcmyk(77.2%, 41.5%, 0%, 24.3%)
CIE-LABlab(47.23, 6.76, -48.01)
CIE-LCHlch(47.23, 48.48, 278.01°)
OKLaboklab(54.66% -0.0381 -0.1373)
OKLCHoklch(54.66% 0.142 254.5)
XYZxyz(16.5659, 16.1940, 52.6944)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C71C1 #C17C2C
analogous
#2CBCC1 #2C71C1 #322CC1
triadic
#2C71C1 #C12C71 #71C12C
tetradic
#2C71C1 #C12CBC #C17C2C #2CC132
square
#2C71C1 #C12CBC #C17C2C #2CC132
split-complementary
#2C71C1 #C1322C #BCC12C
monochromatic
#15375D #21548F #2C71C1 #5390D8 #84B0E3

Accessibility & contrast

On white

4.95
#2C71C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2C71C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C71C1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C71C1#FFFFFF#000000##FFFFFF
##2C71C11.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A77C4
Deuteranopia (green-blind)
#306ABF
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c71c1;
/* rgb */ color: rgb(44, 113, 193);
/* oklch */ color: oklch(54.7% 0.142 254.5);
Tailwind
colors: {
  custom: {
    50: '#7b99d4',
    500: '#2c71c1',
    950: '#000000',
  },
}
SCSS
$custom: #2c71c1;
$custom-light: #7b99d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c71c1",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 193
  },
  "hsl": {
    "h": 212.215,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54657,
    "c": 0.14248,
    "h": 254.5
  },
  "luminance": 0.16196
}

Semantic roles & 50–950 ramp

primary
#2C71C1
secondary
#CCA77D
accent
#9A42E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2C71C1

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

Preview Lab → · Contrast checker → · Palette generator →

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