#2C72C1#2C72C1

#2C72C1 is a mid, vivid cyan. Relative luminance 0.164; OKLCH L 54.9% C 0.141 H 254.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2C72C1
RGBrgb(44, 114, 193)
HSLhsl(212, 63%, 46%)
HSVhsv(212, 77%, 76%)
CMYKcmyk(77.2%, 40.9%, 0%, 24.3%)
CIE-LABlab(47.52, 6.14, -47.55)
CIE-LCHlch(47.52, 47.94, 277.35°)
OKLaboklab(54.88% -0.039 -0.1359)
OKLCHoklch(54.88% 0.141 254)
XYZxyz(16.6781, 16.4184, 52.7318)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C72C1 #C17B2C
analogous
#2CBDC1 #2C72C1 #312CC1
triadic
#2C72C1 #C12C72 #72C12C
tetradic
#2C72C1 #C12CBD #C17B2C #2CC131
square
#2C72C1 #C12CBD #C17B2C #2CC131
split-complementary
#2C72C1 #C1312C #BDC12C
monochromatic
#15375D #21558F #2C72C1 #5391D8 #84B1E3

Accessibility & contrast

On white

4.90
#2C72C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2C72C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C72C1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C72C1#FFFFFF#000000##FFFFFF
##2C72C11.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C78C4
Deuteranopia (green-blind)
#336ABF
Tritanopia (blue-blind)
#008590
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c72c1;
/* rgb */ color: rgb(44, 114, 193);
/* oklch */ color: oklch(54.9% 0.141 254.0);
Tailwind
colors: {
  custom: {
    50: '#7b9ad4',
    500: '#2c72c1',
    950: '#000000',
  },
}
SCSS
$custom: #2c72c1;
$custom-light: #7b9ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c72c1",
  "rgb": {
    "r": 44,
    "g": 114,
    "b": 193
  },
  "hsl": {
    "h": 211.812,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54883,
    "c": 0.14139,
    "h": 254
  },
  "luminance": 0.1642
}

Semantic roles & 50–950 ramp

primary
#2C72C1
secondary
#CCA77D
accent
#9942E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2C72C1

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

Preview Lab → · Contrast checker → · Palette generator →

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