#2C71A4#2C71A4

#2C71A4 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.9% C 0.106 H 244.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2C71A4
RGBrgb(44, 113, 164)
HSLhsl(206, 58%, 41%)
HSVhsv(206, 73%, 64%)
CMYKcmyk(73.2%, 31.1%, 0%, 35.7%)
CIE-LABlab(45.67, -4.02, -33.61)
CIE-LCHlch(45.67, 33.85, 263.18°)
OKLaboklab(52.93% -0.0458 -0.0951)
OKLCHoklch(52.93% 0.106 244.3)
XYZxyz(13.6421, 15.0245, 37.2958)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C71A4 #A45F2C
analogous
#2CA49B #2C71A4 #2C35A4
triadic
#2C71A4 #A42C71 #71A42C
tetradic
#2C71A4 #9B2CA4 #A45F2C #35A42C
square
#2C71A4 #9B2CA4 #A45F2C #35A42C
split-complementary
#2C71A4 #A42C35 #A49B2C
monochromatic
#122F43 #1F5074 #2C71A4 #4191CC #71ADD9

Accessibility & contrast

On white

5.24
#2C71A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C71A4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C71A4#FFFFFF#000000##FFFFFF
##2C71A41.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A6
Deuteranopia (green-blind)
#4967A3
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c71a4;
/* rgb */ color: rgb(44, 113, 164);
/* oklch */ color: oklch(52.9% 0.106 244.3);
Tailwind
colors: {
  custom: {
    50: '#7599bf',
    500: '#2c71a4',
    950: '#000000',
  },
}
SCSS
$custom: #2c71a4;
$custom-light: #7599bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c71a4",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 164
  },
  "hsl": {
    "h": 205.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52925,
    "c": 0.10562,
    "h": 244.3
  },
  "luminance": 0.15026
}

Semantic roles & 50–950 ramp

primary
#2C71A4
secondary
#C0906B
accent
#8847E1
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2C71A4

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

Preview Lab → · Contrast checker → · Palette generator →

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