#2C79AD#2C79AD

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

Color values

HEX#2C79AD
RGBrgb(44, 121, 173)
HSLhsl(204, 59%, 43%)
HSVhsv(204, 75%, 68%)
CMYKcmyk(74.6%, 30.1%, 0%, 32.2%)
CIE-LABlab(48.54, -5.53, -34.35)
CIE-LCHlch(48.54, 34.79, 260.86°)
OKLaboklab(55.34% -0.0509 -0.0972)
OKLCHoklch(55.34% 0.11 242.4)
XYZxyz(15.4160, 17.2256, 42.0395)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C79AD #AD602C
analogous
#2CADA0 #2C79AD #2C39AD
triadic
#2C79AD #AD2C79 #79AD2C
tetradic
#2C79AD #A02CAD #AD602C #39AD2C
square
#2C79AD #A02CAD #AD602C #39AD2C
split-complementary
#2C79AD #AD2C39 #ADA02C
monochromatic
#13354B #20577C #2C79AD #4698D0 #77B4DC

Accessibility & contrast

On white

4.72
#2C79AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2C79AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C79AD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C79AD#FFFFFF#000000##FFFFFF
##2C79AD1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617AAF
Deuteranopia (green-blind)
#4F6EAC
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c79ad;
/* rgb */ color: rgb(44, 121, 173);
/* oklch */ color: oklch(55.3% 0.110 242.4);
Tailwind
colors: {
  custom: {
    50: '#779fc5',
    500: '#2c79ad',
    950: '#000000',
  },
}
SCSS
$custom: #2c79ad;
$custom-light: #779fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c79ad",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 173
  },
  "hsl": {
    "h": 204.186,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55342,
    "c": 0.10973,
    "h": 242.4
  },
  "luminance": 0.17227
}

Semantic roles & 50–950 ramp

primary
#2C79AD
secondary
#C49271
accent
#8545E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C79AD

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

Preview Lab → · Contrast checker → · Palette generator →

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