#2B797F#2B797F

#2B797F is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.2% C 0.075 H 202.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2B797F
RGBrgb(43, 121, 127)
HSLhsl(184, 49%, 33%)
HSVhsv(184, 66%, 50%)
CMYKcmyk(66.1%, 4.7%, 0%, 50.2%)
CIE-LABlab(46.60, -21.38, -10.29)
CIE-LCHlch(46.60, 23.73, 205.70°)
OKLaboklab(53.15% -0.0694 -0.0285)
OKLCHoklch(53.15% 0.075 202.3)
XYZxyz(11.6628, 15.7194, 22.4941)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B797F #7F312B
analogous
#2B7F5B #2B797F #2B4F7F
triadic
#2B797F #7F2B79 #797F2B
tetradic
#2B797F #5B2B7F #7F312B #4F7F2B
square
#2B797F #5B2B7F #7F312B #4F7F2B
split-complementary
#2B797F #7F2B4F #7F5B2B
monochromatic
#0C2224 #1C4D51 #2B797F #3AA5AD #5CC0C8

Accessibility & contrast

On white

5.07
#2B797F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2B797F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B797F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B797F#FFFFFF#000000##FFFFFF
##2B797F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70747F
Deuteranopia (green-blind)
#636A7F
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b797f;
/* rgb */ color: rgb(43, 121, 127);
/* oklch */ color: oklch(53.2% 0.075 202.3);
Tailwind
colors: {
  custom: {
    50: '#70a0a4',
    500: '#2b797f',
    950: '#000000',
  },
}
SCSS
$custom: #2b797f;
$custom-light: #70a0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b797f",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 184.286,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53154,
    "c": 0.075,
    "h": 202.3
  },
  "luminance": 0.15721
}

Semantic roles & 50–950 ramp

primary
#2B797F
secondary
#AE5E58
accent
#594FD9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2B797F

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

Preview Lab → · Contrast checker → · Palette generator →

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