#2C798F#2C798F

#2C798F is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.9% C 0.081 H 220.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2C798F
RGBrgb(44, 121, 143)
HSLhsl(193, 53%, 37%)
HSVhsv(193, 69%, 56%)
CMYKcmyk(69.2%, 15.4%, 0%, 43.9%)
CIE-LABlab(47.23, -16.02, -18.82)
CIE-LCHlch(47.23, 24.72, 229.59°)
OKLaboklab(53.86% -0.0619 -0.0525)
OKLCHoklch(53.86% 0.081 220.3)
XYZxyz(12.8320, 16.1920, 28.4304)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C798F #8F422C
analogous
#2C8F74 #2C798F #2C488F
triadic
#2C798F #8F2C79 #798F2C
tetradic
#2C798F #742C8F #8F422C #488F2C
square
#2C798F #742C8F #8F422C #488F2C
split-complementary
#2C798F #8F2C48 #8F742C
monochromatic
#0F2A31 #1E5160 #2C798F #3AA1BE #66B8D0

Accessibility & contrast

On white

4.95
#2C798F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2C798F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C798F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C798F#FFFFFF#000000##FFFFFF
##2C798F1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7690
Deuteranopia (green-blind)
#5E6C8F
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c798f;
/* rgb */ color: rgb(44, 121, 143);
/* oklch */ color: oklch(53.9% 0.081 220.3);
Tailwind
colors: {
  custom: {
    50: '#729faf',
    500: '#2c798f',
    950: '#000000',
  },
}
SCSS
$custom: #2c798f;
$custom-light: #729faf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c798f",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 193.333,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.53858,
    "c": 0.08114,
    "h": 220.3
  },
  "luminance": 0.16193
}

Semantic roles & 50–950 ramp

primary
#2C798F
secondary
#B67461
accent
#6C4BDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2C798F

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

Preview Lab → · Contrast checker → · Palette generator →

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