#2C798D#2C798D

#2C798D is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.8% C 0.080 H 218.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2C798D
RGBrgb(44, 121, 141)
HSLhsl(192, 52%, 36%)
HSVhsv(192, 69%, 55%)
CMYKcmyk(68.8%, 14.2%, 0%, 44.7%)
CIE-LABlab(47.15, -16.69, -17.76)
CIE-LCHlch(47.15, 24.37, 226.78°)
OKLaboklab(53.77% -0.0627 -0.0495)
OKLCHoklch(53.77% 0.08 218.3)
XYZxyz(12.6818, 16.1319, 27.6395)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C798D #8D402C
analogous
#2C8D71 #2C798D #2C498D
triadic
#2C798D #8D2C79 #798D2C
tetradic
#2C798D #712C8D #8D402C #498D2C
square
#2C798D #712C8D #8D402C #498D2C
split-complementary
#2C798D #8D2C49 #8D712C
monochromatic
#0F2930 #1D515E #2C798D #3BA1BC #65B9CF

Accessibility & contrast

On white

4.97
#2C798D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2C798D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C798D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C798D#FFFFFF#000000##FFFFFF
##2C798D1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C768E
Deuteranopia (green-blind)
#5E6B8D
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c798d;
/* rgb */ color: rgb(44, 121, 141);
/* oklch */ color: oklch(53.8% 0.080 218.3);
Tailwind
colors: {
  custom: {
    50: '#72a0ae',
    500: '#2c798d',
    950: '#000000',
  },
}
SCSS
$custom: #2c798d;
$custom-light: #72a0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c798d",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 192.371,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5377,
    "c": 0.07987,
    "h": 218.3
  },
  "luminance": 0.16133
}

Semantic roles & 50–950 ramp

primary
#2C798D
secondary
#B57160
accent
#6A4CDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2C798D

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

Preview Lab → · Contrast checker → · Palette generator →

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