#2A797A#2A797A

#2A797A is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.9% C 0.075 H 196.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2A797A
RGBrgb(42, 121, 122)
HSLhsl(181, 49%, 32%)
HSVhsv(181, 66%, 48%)
CMYKcmyk(65.6%, 0.8%, 0%, 52.2%)
CIE-LABlab(46.41, -23.11, -7.62)
CIE-LCHlch(46.41, 24.33, 198.25°)
OKLaboklab(52.93% -0.0722 -0.0211)
OKLCHoklch(52.93% 0.075 196.3)
XYZxyz(11.3035, 15.5709, 20.8183)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A797A #7A2B2A
analogous
#2A7A53 #2A797A #2A517A
triadic
#2A797A #7A2A79 #797A2A
tetradic
#2A797A #532A7A #7A2B2A #517A2A
square
#2A797A #532A7A #7A2B2A #517A2A
split-complementary
#2A797A #7A2A51 #7A532A
monochromatic
#0B1F1F #1A4C4C #2A797A #3AA6A8 #59C4C6

Accessibility & contrast

On white

5.10
#2A797A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2A797A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A797A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A797A#FFFFFF#000000##FFFFFF
##2A797A1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71737A
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a797a;
/* rgb */ color: rgb(42, 121, 122);
/* oklch */ color: oklch(52.9% 0.075 196.3);
Tailwind
colors: {
  custom: {
    50: '#6fa0a0',
    500: '#2a797a',
    950: '#000000',
  },
}
SCSS
$custom: #2a797a;
$custom-light: #6fa0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a797a",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 180.75,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5293,
    "c": 0.07526,
    "h": 196.3
  },
  "luminance": 0.15572
}

Semantic roles & 50–950 ramp

primary
#2A797A
secondary
#AB5655
accent
#514FD8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2A797A

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

Preview Lab → · Contrast checker → · Palette generator →

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