#2C71B2#2C71B2

#2C71B2 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.7% C 0.123 H 250.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2C71B2
RGBrgb(44, 113, 178)
HSLhsl(209, 60%, 44%)
HSVhsv(209, 75%, 70%)
CMYKcmyk(75.3%, 36.5%, 0%, 30.2%)
CIE-LABlab(46.39, 1.14, -40.66)
CIE-LCHlch(46.39, 40.67, 271.61°)
OKLaboklab(53.73% -0.0418 -0.1157)
OKLCHoklch(53.73% 0.123 250.2)
XYZxyz(14.9767, 15.5584, 44.3246)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C71B2 #B26D2C
analogous
#2CB2B0 #2C71B2 #2C2EB2
triadic
#2C71B2 #B22C71 #71B22C
tetradic
#2C71B2 #B02CB2 #B26D2C #2EB22C
square
#2C71B2 #B02CB2 #B26D2C #2EB22C
split-complementary
#2C71B2 #B22C2E #B2B02C
monochromatic
#143350 #205281 #2C71B2 #4990D2 #7AAEDE

Accessibility & contrast

On white

5.11
#2C71B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2C71B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C71B2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C71B2#FFFFFF#000000##FFFFFF
##2C71B21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#3F68B1
Tritanopia (blue-blind)
#008089
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c71b2;
/* rgb */ color: rgb(44, 113, 178);
/* oklch */ color: oklch(53.7% 0.123 250.2);
Tailwind
colors: {
  custom: {
    50: '#7899c9',
    500: '#2c71b2',
    950: '#000000',
  },
}
SCSS
$custom: #2c71b2;
$custom-light: #7899c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c71b2",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 209.104,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5373,
    "c": 0.12304,
    "h": 250.2
  },
  "luminance": 0.1556
}

Semantic roles & 50–950 ramp

primary
#2C71B2
secondary
#C69C73
accent
#9244E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C71B2

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

Preview Lab → · Contrast checker → · Palette generator →

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