#2C71CC#2C71CC

#2C71CC is a mid, vivid cyan. Relative luminance 0.167; OKLCH L 55.4% C 0.157 H 256.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2C71CC
RGBrgb(44, 113, 204)
HSLhsl(214, 65%, 49%)
HSVhsv(214, 78%, 80%)
CMYKcmyk(78.4%, 44.6%, 0%, 20%)
CIE-LABlab(47.88, 10.91, -53.27)
CIE-LCHlch(47.88, 54.38, 281.57°)
OKLaboklab(55.38% -0.0359 -0.1528)
OKLCHoklch(55.38% 0.157 256.8)
XYZxyz(17.8389, 16.7032, 59.3989)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C71CC #CC872C
analogous
#2CC1CC #2C71CC #372CCC
triadic
#2C71CC #CC2C71 #71CC2C
tetradic
#2C71CC #CC2CC1 #CC872C #2CCC37
square
#2C71CC #CC2CC1 #CC872C #2CCC37
split-complementary
#2C71CC #CC372C #C1CC2C
monochromatic
#163967 #21559A #2C71CC #5A92DB #8CB3E6

Accessibility & contrast

On white

4.84
#2C71CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2C71CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C71CC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C71CC#FFFFFF#000000##FFFFFF
##2C71CC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4279CF
Deuteranopia (green-blind)
#1F6BCA
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c71cc;
/* rgb */ color: rgb(44, 113, 204);
/* oklch */ color: oklch(55.4% 0.157 256.8);
Tailwind
colors: {
  custom: {
    50: '#7d99dc',
    500: '#2c71cc',
    950: '#000000',
  },
}
SCSS
$custom: #2c71cc;
$custom-light: #7d99dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c71cc",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 214.125,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55378,
    "c": 0.15692,
    "h": 256.8
  },
  "luminance": 0.16705
}

Semantic roles & 50–950 ramp

primary
#2C71CC
secondary
#D0AF83
accent
#9F40E8
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2C71CC

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

Preview Lab → · Contrast checker → · Palette generator →

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