#2D798B#2D798B

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

Color values

HEX#2D798B
RGBrgb(45, 121, 139)
HSLhsl(191, 51%, 36%)
HSVhsv(191, 68%, 55%)
CMYKcmyk(67.6%, 12.9%, 0%, 45.5%)
CIE-LABlab(47.10, -17.18, -16.65)
CIE-LCHlch(47.10, 23.93, 224.09°)
OKLaboklab(53.71% -0.063 -0.0463)
OKLCHoklch(53.71% 0.078 216.3)
XYZxyz(12.5778, 16.0953, 26.8649)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D798B #8B3F2D
analogous
#2D8B6E #2D798B #2D4A8B
triadic
#2D798B #8B2D79 #798B2D
tetradic
#2D798B #6E2D8B #8B3F2D #4A8B2D
square
#2D798B #6E2D8B #8B3F2D #4A8B2D
split-complementary
#2D798B #8B2D4A #8B6E2D
monochromatic
#0F292F #1E515D #2D798B #3CA1B9 #65B9CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D798B#FFFFFF#000000##FFFFFF
##2D798B1.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)
#6D758C
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d798b;
/* rgb */ color: rgb(45, 121, 139);
/* oklch */ color: oklch(53.7% 0.078 216.3);
Tailwind
colors: {
  custom: {
    50: '#72a0ad',
    500: '#2d798b',
    950: '#000000',
  },
}
SCSS
$custom: #2d798b;
$custom-light: #72a0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d798b",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 139
  },
  "hsl": {
    "h": 191.489,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53714,
    "c": 0.07818,
    "h": 216.3
  },
  "luminance": 0.16097
}

Semantic roles & 50–950 ramp

primary
#2D798B
secondary
#B47060
accent
#684DDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2D798B

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

Preview Lab → · Contrast checker → · Palette generator →

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