#2C71A9#2C71A9

#2C71A9 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.2% C 0.112 H 246.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2C71A9
RGBrgb(44, 113, 169)
HSLhsl(207, 59%, 42%)
HSVhsv(207, 74%, 66%)
CMYKcmyk(74%, 33.1%, 0%, 33.7%)
CIE-LABlab(45.92, -2.19, -36.15)
CIE-LCHlch(45.92, 36.22, 266.53°)
OKLaboklab(53.21% -0.0443 -0.1025)
OKLCHoklch(53.21% 0.112 246.6)
XYZxyz(14.1025, 15.2087, 39.7208)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C71A9 #A9642C
analogous
#2CA9A3 #2C71A9 #2C33A9
triadic
#2C71A9 #A92C71 #71A92C
tetradic
#2C71A9 #A32CA9 #A9642C #33A92C
square
#2C71A9 #A32CA9 #A9642C #33A92C
split-complementary
#2C71A9 #A92C33 #A9A32C
monochromatic
#133048 #1F5178 #2C71A9 #4490CE #74ADDB

Accessibility & contrast

On white

5.20
#2C71A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2C71A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C71A9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C71A9#FFFFFF#000000##FFFFFF
##2C71A91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5773AB
Deuteranopia (green-blind)
#4667A8
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c71a9;
/* rgb */ color: rgb(44, 113, 169);
/* oklch */ color: oklch(53.2% 0.112 246.6);
Tailwind
colors: {
  custom: {
    50: '#7699c3',
    500: '#2c71a9',
    950: '#000000',
  },
}
SCSS
$custom: #2c71a9;
$custom-light: #7699c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c71a9",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 169
  },
  "hsl": {
    "h": 206.88,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53206,
    "c": 0.11171,
    "h": 246.6
  },
  "luminance": 0.1521
}

Semantic roles & 50–950 ramp

primary
#2C71A9
secondary
#C3946E
accent
#8C46E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2C71A9

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

Preview Lab → · Contrast checker → · Palette generator →

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