#2C79B6#2C79B6

#2C79B6 is a mid, vivid cyan. Relative luminance 0.176; OKLCH L 55.8% C 0.120 H 246.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2C79B6
RGBrgb(44, 121, 182)
HSLhsl(207, 61%, 44%)
HSVhsv(207, 76%, 71%)
CMYKcmyk(75.8%, 33.5%, 0%, 28.6%)
CIE-LABlab(48.99, -2.24, -38.86)
CIE-LCHlch(48.99, 38.93, 266.70°)
OKLaboklab(55.84% -0.0482 -0.1104)
OKLCHoklch(55.84% 0.12 246.4)
XYZxyz(16.3163, 17.5857, 46.7814)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C79B6 #B6692C
analogous
#2CB6AE #2C79B6 #2C34B6
triadic
#2C79B6 #B62C79 #79B62C
tetradic
#2C79B6 #AE2CB6 #B6692C #34B62C
square
#2C79B6 #AE2CB6 #B6692C #34B62C
split-complementary
#2C79B6 #B62C34 #B6AE2C
monochromatic
#143753 #205885 #2C79B6 #4C97D4 #7DB4E0

Accessibility & contrast

On white

4.65
#2C79B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2C79B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C79B6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C79B6#FFFFFF#000000##FFFFFF
##2C79B61.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D7BB9
Deuteranopia (green-blind)
#496FB5
Tritanopia (blue-blind)
#00888F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c79b6;
/* rgb */ color: rgb(44, 121, 182);
/* oklch */ color: oklch(55.8% 0.120 246.4);
Tailwind
colors: {
  custom: {
    50: '#789fcc',
    500: '#2c79b6',
    950: '#000000',
  },
}
SCSS
$custom: #2c79b6;
$custom-light: #789fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c79b6",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 182
  },
  "hsl": {
    "h": 206.522,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55842,
    "c": 0.12041,
    "h": 246.4
  },
  "luminance": 0.17588
}

Semantic roles & 50–950 ramp

primary
#2C79B6
secondary
#C89A76
accent
#8B44E4
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C79B6

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

Preview Lab → · Contrast checker → · Palette generator →

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