#2C71A6#2C71A6

#2C71A6 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.0% C 0.108 H 245.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2C71A6
RGBrgb(44, 113, 166)
HSLhsl(206, 58%, 41%)
HSVhsv(206, 73%, 65%)
CMYKcmyk(73.5%, 31.9%, 0%, 34.9%)
CIE-LABlab(45.77, -3.29, -34.63)
CIE-LCHlch(45.77, 34.79, 264.57°)
OKLaboklab(53.04% -0.0452 -0.0981)
OKLCHoklch(53.04% 0.108 245.3)
XYZxyz(13.8241, 15.0973, 38.2545)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C71A6 #A6612C
analogous
#2CA69E #2C71A6 #2C34A6
triadic
#2C71A6 #A62C71 #71A62C
tetradic
#2C71A6 #9E2CA6 #A6612C #34A62C
square
#2C71A6 #9E2CA6 #A6612C #34A62C
split-complementary
#2C71A6 #A62C34 #A69E2C
monochromatic
#122F45 #1F5076 #2C71A6 #4291CD #73ADDA

Accessibility & contrast

On white

5.22
#2C71A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2C71A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C71A6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C71A6#FFFFFF#000000##FFFFFF
##2C71A61.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5973A8
Deuteranopia (green-blind)
#4867A5
Tritanopia (blue-blind)
#007E84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c71a6;
/* rgb */ color: rgb(44, 113, 166);
/* oklch */ color: oklch(53.0% 0.108 245.3);
Tailwind
colors: {
  custom: {
    50: '#7599c0',
    500: '#2c71a6',
    950: '#000000',
  },
}
SCSS
$custom: #2c71a6;
$custom-light: #7599c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c71a6",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 166
  },
  "hsl": {
    "h": 206.066,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53037,
    "c": 0.10804,
    "h": 245.3
  },
  "luminance": 0.15099
}

Semantic roles & 50–950 ramp

primary
#2C71A6
secondary
#C1916D
accent
#8A46E1
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2C71A6

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

Preview Lab → · Contrast checker → · Palette generator →

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