#2A797B#2A797B

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

Color values

HEX#2A797B
RGBrgb(42, 121, 123)
HSLhsl(181, 49%, 32%)
HSVhsv(181, 66%, 48%)
CMYKcmyk(65.9%, 1.6%, 0%, 51.8%)
CIE-LABlab(46.44, -22.80, -8.17)
CIE-LCHlch(46.44, 24.22, 199.70°)
OKLaboklab(52.97% -0.0718 -0.0226)
OKLCHoklch(52.97% 0.075 197.5)
XYZxyz(11.3658, 15.5958, 21.1463)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A797B #7B2C2A
analogous
#2A7B54 #2A797B #2A517B
triadic
#2A797B #7B2A79 #797B2A
tetradic
#2A797B #542A7B #7B2C2A #517B2A
square
#2A797B #542A7B #7B2C2A #517B2A
split-complementary
#2A797B #7B2A51 #7B542A
monochromatic
#0B1F20 #1A4C4D #2A797B #3AA6A9 #59C4C6

Accessibility & contrast

On white

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

On black

4.12
#2A797B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A797B#FFFFFF#000000##FFFFFF
##2A797B1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a797b;
/* rgb */ color: rgb(42, 121, 123);
/* oklch */ color: oklch(53.0% 0.075 197.5);
Tailwind
colors: {
  custom: {
    50: '#6fa0a1',
    500: '#2a797b',
    950: '#000000',
  },
}
SCSS
$custom: #2a797b;
$custom-light: #6fa0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a797b",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 181.481,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52968,
    "c": 0.07525,
    "h": 197.5
  },
  "luminance": 0.15597
}

Semantic roles & 50–950 ramp

primary
#2A797B
secondary
#AC5755
accent
#534FD9
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2A797B

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

Preview Lab → · Contrast checker → · Palette generator →

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