#2D798C#2D798C

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

Color values

HEX#2D798C
RGBrgb(45, 121, 140)
HSLhsl(192, 51%, 36%)
HSVhsv(192, 68%, 55%)
CMYKcmyk(67.9%, 13.6%, 0%, 45.1%)
CIE-LABlab(47.14, -16.85, -17.18)
CIE-LCHlch(47.14, 24.07, 225.55°)
OKLaboklab(53.76% -0.0625 -0.0478)
OKLCHoklch(53.76% 0.079 217.4)
XYZxyz(12.6512, 16.1247, 27.2515)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D798C #8C402D
analogous
#2D8C70 #2D798C #2D4A8C
triadic
#2D798C #8C2D79 #798C2D
tetradic
#2D798C #702D8C #8C402D #4A8C2D
square
#2D798C #702D8C #8C402D #4A8C2D
split-complementary
#2D798C #8C2D4A #8C702D
monochromatic
#0F292F #1E515E #2D798C #3CA1BA #66B9CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D798C#FFFFFF#000000##FFFFFF
##2D798C1.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)
#6D758D
Deuteranopia (green-blind)
#5F6B8C
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d798c;
/* rgb */ color: rgb(45, 121, 140);
/* oklch */ color: oklch(53.8% 0.079 217.4);
Tailwind
colors: {
  custom: {
    50: '#72a0ad',
    500: '#2d798c',
    950: '#000000',
  },
}
SCSS
$custom: #2d798c;
$custom-light: #72a0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d798c",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 140
  },
  "hsl": {
    "h": 192,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.53758,
    "c": 0.07875,
    "h": 217.4
  },
  "luminance": 0.16126
}

Semantic roles & 50–950 ramp

primary
#2D798C
secondary
#B47160
accent
#694DDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2D798C

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

Preview Lab → · Contrast checker → · Palette generator →

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