#2C79A5#2C79A5

#2C79A5 is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.9% C 0.101 H 237.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2C79A5
RGBrgb(44, 121, 165)
HSLhsl(202, 58%, 41%)
HSVhsv(202, 73%, 65%)
CMYKcmyk(73.3%, 26.7%, 0%, 35.3%)
CIE-LABlab(48.17, -8.40, -30.28)
CIE-LCHlch(48.17, 31.43, 254.49°)
OKLaboklab(54.92% -0.0536 -0.0854)
OKLCHoklch(54.92% 0.101 237.9)
XYZxyz(14.6649, 16.9252, 38.0840)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C79A5 #A5582C
analogous
#2CA594 #2C79A5 #2C3CA5
triadic
#2C79A5 #A52C79 #79A52C
tetradic
#2C79A5 #942CA5 #A5582C #3CA52C
square
#2C79A5 #942CA5 #A5582C #3CA52C
split-complementary
#2C79A5 #A52C3C #A5942C
monochromatic
#123244 #1F5675 #2C79A5 #429ACD #72B4D9

Accessibility & contrast

On white

4.79
#2C79A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C79A5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C79A5#FFFFFF#000000##FFFFFF
##2C79A51.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6479A7
Deuteranopia (green-blind)
#546DA4
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c79a5;
/* rgb */ color: rgb(44, 121, 165);
/* oklch */ color: oklch(54.9% 0.101 237.9);
Tailwind
colors: {
  custom: {
    50: '#759fc0',
    500: '#2c79a5',
    950: '#000000',
  },
}
SCSS
$custom: #2c79a5;
$custom-light: #759fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c79a5",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 165
  },
  "hsl": {
    "h": 201.818,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54919,
    "c": 0.10081,
    "h": 237.9
  },
  "luminance": 0.16927
}

Semantic roles & 50–950 ramp

primary
#2C79A5
secondary
#C18B6C
accent
#7F47E1
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2C79A5

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

Preview Lab → · Contrast checker → · Palette generator →

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