#2C79A6#2C79A6

#2C79A6 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.0% C 0.102 H 238.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2C79A6
RGBrgb(44, 121, 166)
HSLhsl(202, 58%, 41%)
HSVhsv(202, 73%, 65%)
CMYKcmyk(73.5%, 27.1%, 0%, 34.9%)
CIE-LABlab(48.21, -8.04, -30.80)
CIE-LCHlch(48.21, 31.83, 255.36°)
OKLaboklab(54.97% -0.0532 -0.0869)
OKLCHoklch(54.97% 0.102 238.5)
XYZxyz(14.7563, 16.9617, 38.5652)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C79A6 #A6592C
analogous
#2CA696 #2C79A6 #2C3CA6
triadic
#2C79A6 #A62C79 #79A62C
tetradic
#2C79A6 #962CA6 #A6592C #3CA62C
square
#2C79A6 #962CA6 #A6592C #3CA62C
split-complementary
#2C79A6 #A62C3C #A6962C
monochromatic
#123245 #1F5676 #2C79A6 #429ACD #73B4DA

Accessibility & contrast

On white

4.78
#2C79A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2C79A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C79A6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C79A6#FFFFFF#000000##FFFFFF
##2C79A61.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6479A8
Deuteranopia (green-blind)
#536DA5
Tritanopia (blue-blind)
#008489
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c79a6;
/* rgb */ color: rgb(44, 121, 166);
/* oklch */ color: oklch(55.0% 0.102 238.5);
Tailwind
colors: {
  custom: {
    50: '#769fc0',
    500: '#2c79a6',
    950: '#000000',
  },
}
SCSS
$custom: #2c79a6;
$custom-light: #769fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c79a6",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 166
  },
  "hsl": {
    "h": 202.131,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.54971,
    "c": 0.10188,
    "h": 238.5
  },
  "luminance": 0.16963
}

Semantic roles & 50–950 ramp

primary
#2C79A6
secondary
#C18C6D
accent
#8046E1
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2C79A6

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

Preview Lab → · Contrast checker → · Palette generator →

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