#2B797A#2B797A

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

Color values

HEX#2B797A
RGBrgb(43, 121, 122)
HSLhsl(181, 48%, 32%)
HSVhsv(181, 65%, 48%)
CMYKcmyk(64.8%, 0.8%, 0%, 52.2%)
CIE-LABlab(46.44, -22.93, -7.58)
CIE-LCHlch(46.44, 24.15, 198.28°)
OKLaboklab(52.96% -0.0717 -0.021)
OKLCHoklch(52.96% 0.075 196.3)
XYZxyz(11.3449, 15.5923, 20.8203)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B797A #7A2C2B
analogous
#2B7A53 #2B797A #2B527A
triadic
#2B797A #7A2B79 #797A2B
tetradic
#2B797A #532B7A #7A2C2B #527A2B
square
#2B797A #532B7A #7A2C2B #527A2B
split-complementary
#2B797A #7A2B52 #7A532B
monochromatic
#0B1F1F #1B4C4D #2B797A #3BA6A7 #5AC4C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B797A#FFFFFF#000000##FFFFFF
##2B797A1.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)
#71737A
Deuteranopia (green-blind)
#656A7B
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b797a;
/* rgb */ color: rgb(43, 121, 122);
/* oklch */ color: oklch(53.0% 0.075 196.3);
Tailwind
colors: {
  custom: {
    50: '#6fa0a0',
    500: '#2b797a',
    950: '#000000',
  },
}
SCSS
$custom: #2b797a;
$custom-light: #6fa0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b797a",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 180.759,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52961,
    "c": 0.0747,
    "h": 196.3
  },
  "luminance": 0.15593
}

Semantic roles & 50–950 ramp

primary
#2B797A
secondary
#AB5756
accent
#5250D7
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2B797A

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

Preview Lab → · Contrast checker → · Palette generator →

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