#2C79AE#2C79AE

#2C79AE is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.4% C 0.111 H 242.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2C79AE
RGBrgb(44, 121, 174)
HSLhsl(204, 60%, 43%)
HSVhsv(204, 75%, 68%)
CMYKcmyk(74.7%, 30.5%, 0%, 31.8%)
CIE-LABlab(48.59, -5.16, -34.86)
CIE-LCHlch(48.59, 35.24, 261.57°)
OKLaboklab(55.4% -0.0506 -0.0987)
OKLCHoklch(55.4% 0.111 242.9)
XYZxyz(15.5131, 17.2644, 42.5510)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C79AE #AE612C
analogous
#2CAEA2 #2C79AE #2C38AE
triadic
#2C79AE #AE2C79 #79AE2C
tetradic
#2C79AE #A22CAE #AE612C #38AE2C
square
#2C79AE #A22CAE #AE612C #38AE2C
split-complementary
#2C79AE #AE2C38 #AEA22C
monochromatic
#13354C #20577D #2C79AE #4798D0 #78B4DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C79AE#FFFFFF#000000##FFFFFF
##2C79AE1.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)
#617AB0
Deuteranopia (green-blind)
#4F6EAD
Tritanopia (blue-blind)
#00868C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c79ae;
/* rgb */ color: rgb(44, 121, 174);
/* oklch */ color: oklch(55.4% 0.111 242.9);
Tailwind
colors: {
  custom: {
    50: '#779fc6',
    500: '#2c79ae',
    950: '#000000',
  },
}
SCSS
$custom: #2c79ae;
$custom-light: #779fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c79ae",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 174
  },
  "hsl": {
    "h": 204.462,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55397,
    "c": 0.11089,
    "h": 242.9
  },
  "luminance": 0.17266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C79AE

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

Preview Lab → · Contrast checker → · Palette generator →

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