#2C79AC#2C79AC

#2C79AC is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.3% C 0.109 H 241.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2C79AC
RGBrgb(44, 121, 172)
HSLhsl(204, 59%, 42%)
HSVhsv(204, 74%, 67%)
CMYKcmyk(74.4%, 29.7%, 0%, 32.5%)
CIE-LABlab(48.49, -5.89, -33.85)
CIE-LCHlch(48.49, 34.36, 260.13°)
OKLaboklab(55.29% -0.0512 -0.0957)
OKLCHoklch(55.29% 0.109 241.8)
XYZxyz(15.3196, 17.1870, 41.5318)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C79AC #AC5F2C
analogous
#2CAC9F #2C79AC #2C39AC
triadic
#2C79AC #AC2C79 #79AC2C
tetradic
#2C79AC #9F2CAC #AC5F2C #39AC2C
square
#2C79AC #9F2CAC #AC5F2C #39AC2C
split-complementary
#2C79AC #AC2C39 #AC9F2C
monochromatic
#13344B #20577B #2C79AC #4699D0 #76B4DC

Accessibility & contrast

On white

4.73
#2C79AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2C79AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C79AC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C79AC#FFFFFF#000000##FFFFFF
##2C79AC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617AAE
Deuteranopia (green-blind)
#506EAB
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c79ac;
/* rgb */ color: rgb(44, 121, 172);
/* oklch */ color: oklch(55.3% 0.109 241.8);
Tailwind
colors: {
  custom: {
    50: '#779fc5',
    500: '#2c79ac',
    950: '#000000',
  },
}
SCSS
$custom: #2c79ac;
$custom-light: #779fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c79ac",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 172
  },
  "hsl": {
    "h": 203.906,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55288,
    "c": 0.10858,
    "h": 241.8
  },
  "luminance": 0.17189
}

Semantic roles & 50–950 ramp

primary
#2C79AC
secondary
#C49170
accent
#8445E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C79AC

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

Preview Lab → · Contrast checker → · Palette generator →

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