#2D798A#2D798A

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

Color values

HEX#2D798A
RGBrgb(45, 121, 138)
HSLhsl(191, 51%, 36%)
HSVhsv(191, 67%, 54%)
CMYKcmyk(67.4%, 12.3%, 0%, 45.9%)
CIE-LABlab(47.06, -17.51, -16.12)
CIE-LCHlch(47.06, 23.80, 222.62°)
OKLaboklab(53.67% -0.0634 -0.0448)
OKLCHoklch(53.67% 0.078 215.3)
XYZxyz(12.5051, 16.0663, 26.4819)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D798A #8A3E2D
analogous
#2D8A6C #2D798A #2D4A8A
triadic
#2D798A #8A2D79 #798A2D
tetradic
#2D798A #6C2D8A #8A3E2D #4A8A2D
square
#2D798A #6C2D8A #8A3E2D #4A8A2D
split-complementary
#2D798A #8A2D4A #8A6C2D
monochromatic
#0F282E #1E515C #2D798A #3CA1B8 #65BACD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D798A#FFFFFF#000000##FFFFFF
##2D798A1.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)
#6D758B
Deuteranopia (green-blind)
#606B8A
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d798a;
/* rgb */ color: rgb(45, 121, 138);
/* oklch */ color: oklch(53.7% 0.078 215.3);
Tailwind
colors: {
  custom: {
    50: '#72a0ac',
    500: '#2d798a',
    950: '#000000',
  },
}
SCSS
$custom: #2d798a;
$custom-light: #72a0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d798a",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 190.968,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.53671,
    "c": 0.07763,
    "h": 215.3
  },
  "luminance": 0.16068
}

Semantic roles & 50–950 ramp

primary
#2D798A
secondary
#B36F60
accent
#674DDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2D798A

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

Preview Lab → · Contrast checker → · Palette generator →

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