#2C71B6#2C71B6

#2C71B6 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.0% C 0.128 H 251.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2C71B6
RGBrgb(44, 113, 182)
HSLhsl(210, 61%, 44%)
HSVhsv(210, 76%, 71%)
CMYKcmyk(75.8%, 37.9%, 0%, 28.6%)
CIE-LABlab(46.61, 2.63, -42.64)
CIE-LCHlch(46.61, 42.72, 273.53°)
OKLaboklab(53.97% -0.0407 -0.1215)
OKLCHoklch(53.97% 0.128 251.5)
XYZxyz(15.3842, 15.7214, 46.4706)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C71B6 #B6712C
analogous
#2CB6B6 #2C71B6 #2C2CB6
triadic
#2C71B6 #B62C71 #71B62C
tetradic
#2C71B6 #B62CB6 #B6712C #2CB62C
square
#2C71B6 #B62CB6 #B6712C #2CB62C
split-complementary
#2C71B6 #B62C2C #B6B62C
monochromatic
#143453 #205285 #2C71B6 #4C90D4 #7DAEE0

Accessibility & contrast

On white

5.07
#2C71B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2C71B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C71B6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C71B6#FFFFFF#000000##FFFFFF
##2C71B61.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5175B9
Deuteranopia (green-blind)
#3C69B5
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c71b6;
/* rgb */ color: rgb(44, 113, 182);
/* oklch */ color: oklch(54.0% 0.128 251.5);
Tailwind
colors: {
  custom: {
    50: '#7899cc',
    500: '#2c71b6',
    950: '#000000',
  },
}
SCSS
$custom: #2c71b6;
$custom-light: #7899cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c71b6",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 182
  },
  "hsl": {
    "h": 210,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53971,
    "c": 0.12817,
    "h": 251.5
  },
  "luminance": 0.15723
}

Semantic roles & 50–950 ramp

primary
#2C71B6
secondary
#C89F76
accent
#9444E4
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C71B6

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

Preview Lab → · Contrast checker → · Palette generator →

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