#2C71A7#2C71A7

#2C71A7 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.1% C 0.109 H 245.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2C71A7
RGBrgb(44, 113, 167)
HSLhsl(206, 58%, 41%)
HSVhsv(206, 74%, 65%)
CMYKcmyk(73.7%, 32.3%, 0%, 34.5%)
CIE-LABlab(45.82, -2.92, -35.14)
CIE-LCHlch(45.82, 35.26, 265.24°)
OKLaboklab(53.09% -0.0449 -0.0996)
OKLCHoklch(53.09% 0.109 245.7)
XYZxyz(13.9162, 15.1342, 38.7395)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C71A7 #A7622C
analogous
#2CA7A0 #2C71A7 #2C34A7
triadic
#2C71A7 #A72C71 #71A72C
tetradic
#2C71A7 #A02CA7 #A7622C #34A72C
square
#2C71A7 #A02CA7 #A7622C #34A72C
split-complementary
#2C71A7 #A72C34 #A7A02C
monochromatic
#122F46 #1F5077 #2C71A7 #4391CD #73ADDA

Accessibility & contrast

On white

5.21
#2C71A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2C71A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C71A7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C71A7#FFFFFF#000000##FFFFFF
##2C71A71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5873A9
Deuteranopia (green-blind)
#4767A6
Tritanopia (blue-blind)
#007E84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c71a7;
/* rgb */ color: rgb(44, 113, 167);
/* oklch */ color: oklch(53.1% 0.109 245.7);
Tailwind
colors: {
  custom: {
    50: '#7699c1',
    500: '#2c71a7',
    950: '#000000',
  },
}
SCSS
$custom: #2c71a7;
$custom-light: #7699c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c71a7",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 167
  },
  "hsl": {
    "h": 206.341,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53093,
    "c": 0.10925,
    "h": 245.7
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

primary
#2C71A7
secondary
#C2926D
accent
#8A46E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2C71A7

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

Preview Lab → · Contrast checker → · Palette generator →

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