#2C798C#2C798C

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

Color values

HEX#2C798C
RGBrgb(44, 121, 140)
HSLhsl(192, 52%, 36%)
HSVhsv(192, 69%, 55%)
CMYKcmyk(68.6%, 13.6%, 0%, 45.1%)
CIE-LABlab(47.11, -17.02, -17.23)
CIE-LCHlch(47.11, 24.22, 225.35°)
OKLaboklab(53.73% -0.0631 -0.048)
OKLCHoklch(53.73% 0.079 217.2)
XYZxyz(12.6077, 16.1023, 27.2495)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C798C #8C3F2C
analogous
#2C8C6F #2C798C #2C498C
triadic
#2C798C #8C2C79 #798C2C
tetradic
#2C798C #6F2C8C #8C3F2C #498C2C
square
#2C798C #6F2C8C #8C3F2C #498C2C
split-complementary
#2C798C #8C2C49 #8C6F2C
monochromatic
#0F292F #1D515D #2C798C #3BA1BB #64B9CE

Accessibility & contrast

On white

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

On black

4.22
#2C798C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C798C#FFFFFF#000000##FFFFFF
##2C798C1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c798c;
/* rgb */ color: rgb(44, 121, 140);
/* oklch */ color: oklch(53.7% 0.079 217.2);
Tailwind
colors: {
  custom: {
    50: '#72a0ad',
    500: '#2c798c',
    950: '#000000',
  },
}
SCSS
$custom: #2c798c;
$custom-light: #72a0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c798c",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 140
  },
  "hsl": {
    "h": 191.875,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53726,
    "c": 0.07929,
    "h": 217.2
  },
  "luminance": 0.16104
}

Semantic roles & 50–950 ramp

primary
#2C798C
secondary
#B5705F
accent
#694CDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2C798C

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

Preview Lab → · Contrast checker → · Palette generator →

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