#2C79A4#2C79A4

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

Color values

HEX#2C79A4
RGBrgb(44, 121, 164)
HSLhsl(202, 58%, 41%)
HSVhsv(202, 73%, 64%)
CMYKcmyk(73.2%, 26.2%, 0%, 35.7%)
CIE-LABlab(48.12, -8.76, -29.77)
CIE-LCHlch(48.12, 31.03, 253.61°)
OKLaboklab(54.87% -0.0539 -0.0839)
OKLCHoklch(54.87% 0.1 237.3)
XYZxyz(14.5743, 16.8889, 37.6065)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C79A4 #A4572C
analogous
#2CA493 #2C79A4 #2C3DA4
triadic
#2C79A4 #A42C79 #79A42C
tetradic
#2C79A4 #932CA4 #A4572C #3DA42C
square
#2C79A4 #932CA4 #A4572C #3DA42C
split-complementary
#2C79A4 #A42C3D #A4932C
monochromatic
#123243 #1F5574 #2C79A4 #419ACC #71B4D9

Accessibility & contrast

On white

4.80
#2C79A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2C79A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C79A4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C79A4#FFFFFF#000000##FFFFFF
##2C79A41.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6579A6
Deuteranopia (green-blind)
#546DA3
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c79a4;
/* rgb */ color: rgb(44, 121, 164);
/* oklch */ color: oklch(54.9% 0.100 237.3);
Tailwind
colors: {
  custom: {
    50: '#759fbf',
    500: '#2c79a4',
    950: '#000000',
  },
}
SCSS
$custom: #2c79a4;
$custom-light: #759fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c79a4",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 164
  },
  "hsl": {
    "h": 201.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.09974,
    "h": 237.3
  },
  "luminance": 0.16891
}

Semantic roles & 50–950 ramp

primary
#2C79A4
secondary
#C08A6B
accent
#7E47E1
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2C79A4

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

Preview Lab → · Contrast checker → · Palette generator →

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