#2C71CD#2C71CD

#2C71CD is a mid, vivid cyan. Relative luminance 0.168; OKLCH L 55.4% C 0.158 H 257.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2C71CD
RGBrgb(44, 113, 205)
HSLhsl(214, 65%, 49%)
HSVhsv(214, 79%, 80%)
CMYKcmyk(78.5%, 44.9%, 0%, 19.6%)
CIE-LABlab(47.95, 11.29, -53.75)
CIE-LCHlch(47.95, 54.92, 281.86°)
OKLaboklab(55.45% -0.0357 -0.1542)
OKLCHoklch(55.45% 0.158 257)
XYZxyz(17.9592, 16.7514, 60.0326)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C71CD #CD882C
analogous
#2CC2CD #2C71CD #382CCD
triadic
#2C71CD #CD2C71 #71CD2C
tetradic
#2C71CD #CD2CC2 #CD882C #2CCD38
square
#2C71CD #CD2CC2 #CD882C #2CCD38
split-complementary
#2C71CD #CD382C #C2CD2C
monochromatic
#163968 #21559B #2C71CD #5B92DC #8DB3E7

Accessibility & contrast

On white

4.83
#2C71CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2C71CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C71CD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C71CD#FFFFFF#000000##FFFFFF
##2C71CD1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#417AD1
Deuteranopia (green-blind)
#1D6BCB
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c71cd;
/* rgb */ color: rgb(44, 113, 205);
/* oklch */ color: oklch(55.4% 0.158 257.0);
Tailwind
colors: {
  custom: {
    50: '#7d99dd',
    500: '#2c71cd',
    950: '#000000',
  },
}
SCSS
$custom: #2c71cd;
$custom-light: #7d99dd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c71cd",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 214.286,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55445,
    "c": 0.15824,
    "h": 257
  },
  "luminance": 0.16754
}

Semantic roles & 50–950 ramp

primary
#2C71CD
secondary
#D1B084
accent
#A040E8
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2C71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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