#2C798B#2C798B

#2C798B is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.7% C 0.079 H 216.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2C798B
RGBrgb(44, 121, 139)
HSLhsl(191, 52%, 36%)
HSVhsv(191, 68%, 55%)
CMYKcmyk(68.3%, 12.9%, 0%, 45.5%)
CIE-LABlab(47.07, -17.35, -16.70)
CIE-LCHlch(47.07, 24.08, 223.90°)
OKLaboklab(53.68% -0.0635 -0.0465)
OKLCHoklch(53.68% 0.079 216.2)
XYZxyz(12.5344, 16.0729, 26.8629)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C798B #8B3E2C
analogous
#2C8B6D #2C798B #2C498B
triadic
#2C798B #8B2C79 #798B2C
tetradic
#2C798B #6D2C8B #8B3E2C #498B2C
square
#2C798B #6D2C8B #8B3E2C #498B2C
split-complementary
#2C798B #8B2C49 #8B6D2C
monochromatic
#0F282E #1D515D #2C798B #3BA1B9 #64BACE

Accessibility & contrast

On white

4.98
#2C798B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C798B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C798B#FFFFFF#000000##FFFFFF
##2C798B1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c798b;
/* rgb */ color: rgb(44, 121, 139);
/* oklch */ color: oklch(53.7% 0.079 216.2);
Tailwind
colors: {
  custom: {
    50: '#72a0ad',
    500: '#2c798b',
    950: '#000000',
  },
}
SCSS
$custom: #2c798b;
$custom-light: #72a0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c798b",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 139
  },
  "hsl": {
    "h": 191.368,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.53682,
    "c": 0.07872,
    "h": 216.2
  },
  "luminance": 0.16074
}

Semantic roles & 50–950 ramp

primary
#2C798B
secondary
#B46F5F
accent
#684CDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2C798B

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

Preview Lab → · Contrast checker → · Palette generator →

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