#2C71A5#2C71A5

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

Color values

HEX#2C71A5
RGBrgb(44, 113, 165)
HSLhsl(206, 58%, 41%)
HSVhsv(206, 73%, 65%)
CMYKcmyk(73.3%, 31.5%, 0%, 35.3%)
CIE-LABlab(45.72, -3.66, -34.12)
CIE-LCHlch(45.72, 34.32, 263.89°)
OKLaboklab(52.98% -0.0455 -0.0966)
OKLCHoklch(52.98% 0.107 244.8)
XYZxyz(13.7328, 15.0608, 37.7733)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C71A5 #A5602C
analogous
#2CA59C #2C71A5 #2C34A5
triadic
#2C71A5 #A52C71 #71A52C
tetradic
#2C71A5 #9C2CA5 #A5602C #34A52C
square
#2C71A5 #9C2CA5 #A5602C #34A52C
split-complementary
#2C71A5 #A52C34 #A59C2C
monochromatic
#122F44 #1F5075 #2C71A5 #4291CD #72ADD9

Accessibility & contrast

On white

5.23
#2C71A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2C71A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C71A5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C71A5#FFFFFF#000000##FFFFFF
##2C71A51.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5973A7
Deuteranopia (green-blind)
#4867A4
Tritanopia (blue-blind)
#007E83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c71a5;
/* rgb */ color: rgb(44, 113, 165);
/* oklch */ color: oklch(53.0% 0.107 244.8);
Tailwind
colors: {
  custom: {
    50: '#7599c0',
    500: '#2c71a5',
    950: '#000000',
  },
}
SCSS
$custom: #2c71a5;
$custom-light: #7599c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c71a5",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 165
  },
  "hsl": {
    "h": 205.785,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52981,
    "c": 0.10683,
    "h": 244.8
  },
  "luminance": 0.15062
}

Semantic roles & 50–950 ramp

primary
#2C71A5
secondary
#C1906C
accent
#8947E1
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2C71A5

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

Preview Lab → · Contrast checker → · Palette generator →

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