#2C71BD#2C71BD

#2C71BD is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.4% C 0.137 H 253.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2C71BD
RGBrgb(44, 113, 189)
HSLhsl(211, 62%, 46%)
HSVhsv(211, 77%, 74%)
CMYKcmyk(76.7%, 40.2%, 0%, 25.9%)
CIE-LABlab(47.00, 5.25, -46.07)
CIE-LCHlch(47.00, 46.37, 276.51°)
OKLaboklab(54.4% -0.039 -0.1316)
OKLCHoklch(54.4% 0.137 253.5)
XYZxyz(16.1257, 16.0180, 50.3761)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C71BD #BD782C
analogous
#2CB9BD #2C71BD #2F2CBD
triadic
#2C71BD #BD2C71 #71BD2C
tetradic
#2C71BD #BD2CB9 #BD782C #2CBD2F
square
#2C71BD #BD2CB9 #BD782C #2CBD2F
split-complementary
#2C71BD #BD2F2C #B9BD2C
monochromatic
#15365A #20538B #2C71BD #5090D6 #82AFE2

Accessibility & contrast

On white

5.00
#2C71BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2C71BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C71BD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C71BD#FFFFFF#000000##FFFFFF
##2C71BD1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D77C0
Deuteranopia (green-blind)
#3569BB
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c71bd;
/* rgb */ color: rgb(44, 113, 189);
/* oklch */ color: oklch(54.4% 0.137 253.5);
Tailwind
colors: {
  custom: {
    50: '#7a99d1',
    500: '#2c71bd',
    950: '#000000',
  },
}
SCSS
$custom: #2c71bd;
$custom-light: #7a99d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c71bd",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 211.448,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54403,
    "c": 0.13725,
    "h": 253.5
  },
  "luminance": 0.1602
}

Semantic roles & 50–950 ramp

primary
#2C71BD
secondary
#CBA47A
accent
#9842E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2C71BD

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

Preview Lab → · Contrast checker → · Palette generator →

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