#2B797B#2B797B

#2B797B 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.09:1 contrast (WCAG AA passes).

Color values

HEX#2B797B
RGBrgb(43, 121, 123)
HSLhsl(182, 48%, 33%)
HSVhsv(182, 65%, 48%)
CMYKcmyk(65%, 1.6%, 0%, 51.8%)
CIE-LABlab(46.47, -22.63, -8.12)
CIE-LCHlch(46.47, 24.04, 199.74°)
OKLaboklab(53% -0.0712 -0.0225)
OKLCHoklch(53% 0.075 197.5)
XYZxyz(11.4072, 15.6172, 21.1483)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B797B #7B2D2B
analogous
#2B7B55 #2B797B #2B517B
triadic
#2B797B #7B2B79 #797B2B
tetradic
#2B797B #552B7B #7B2D2B #517B2B
square
#2B797B #552B7B #7B2D2B #517B2B
split-complementary
#2B797B #7B2B51 #7B552B
monochromatic
#0B2020 #1B4C4E #2B797B #3BA6A8 #5BC3C6

Accessibility & contrast

On white

5.09
#2B797B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B797B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B797B#FFFFFF#000000##FFFFFF
##2B797B1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.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: #2b797b;
/* rgb */ color: rgb(43, 121, 123);
/* oklch */ color: oklch(53.0% 0.075 197.5);
Tailwind
colors: {
  custom: {
    50: '#6fa0a1',
    500: '#2b797b',
    950: '#000000',
  },
}
SCSS
$custom: #2b797b;
$custom-light: #6fa0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b797b",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 181.5,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52999,
    "c": 0.07468,
    "h": 197.5
  },
  "luminance": 0.15618
}

Semantic roles & 50–950 ramp

primary
#2B797B
secondary
#AB5856
accent
#5350D8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2B797B

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

Preview Lab → · Contrast checker → · Palette generator →

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