#2C798A#2C798A

#2C798A is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.6% C 0.078 H 215.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2C798A
RGBrgb(44, 121, 138)
HSLhsl(191, 52%, 36%)
HSVhsv(191, 68%, 54%)
CMYKcmyk(68.1%, 12.3%, 0%, 45.9%)
CIE-LABlab(47.03, -17.68, -16.16)
CIE-LCHlch(47.03, 23.95, 222.43°)
OKLaboklab(53.64% -0.064 -0.045)
OKLCHoklch(53.64% 0.078 215.1)
XYZxyz(12.4616, 16.0438, 26.4798)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C798A #8A3D2C
analogous
#2C8A6C #2C798A #2C4A8A
triadic
#2C798A #8A2C79 #798A2C
tetradic
#2C798A #6C2C8A #8A3D2C #4A8A2C
square
#2C798A #6C2C8A #8A3D2C #4A8A2C
split-complementary
#2C798A #8A2C4A #8A6C2C
monochromatic
#0E282D #1D505C #2C798A #3BA2B8 #63BACD

Accessibility & contrast

On white

4.99
#2C798A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2C798A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C798A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C798A#FFFFFF#000000##FFFFFF
##2C798A1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D758B
Deuteranopia (green-blind)
#606B8A
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c798a;
/* rgb */ color: rgb(44, 121, 138);
/* oklch */ color: oklch(53.6% 0.078 215.1);
Tailwind
colors: {
  custom: {
    50: '#71a0ac',
    500: '#2c798a',
    950: '#000000',
  },
}
SCSS
$custom: #2c798a;
$custom-light: #71a0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c798a",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 190.851,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.53639,
    "c": 0.07818,
    "h": 215.1
  },
  "luminance": 0.16045
}

Semantic roles & 50–950 ramp

primary
#2C798A
secondary
#B46E5E
accent
#664DDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2C798A

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

Preview Lab → · Contrast checker → · Palette generator →

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