#2B797C#2B797C

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

Color values

HEX#2B797C
RGBrgb(43, 121, 124)
HSLhsl(182, 49%, 33%)
HSVhsv(182, 65%, 49%)
CMYKcmyk(65.3%, 2.4%, 0%, 51.4%)
CIE-LABlab(46.50, -22.32, -8.67)
CIE-LCHlch(46.50, 23.94, 201.22°)
OKLaboklab(53.04% -0.0707 -0.024)
OKLCHoklch(53.04% 0.075 198.7)
XYZxyz(11.4701, 15.6423, 21.4797)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B797C #7C2E2B
analogous
#2B7C56 #2B797C #2B517C
triadic
#2B797C #7C2B79 #797C2B
tetradic
#2B797C #562B7C #7C2E2B #517C2B
square
#2B797C #562B7C #7C2E2B #517C2B
split-complementary
#2B797C #7C2B51 #7C562B
monochromatic
#0B2021 #1B4D4F #2B797C #3BA5A9 #5BC2C6

Accessibility & contrast

On white

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

On black

4.13
#2B797C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B797C#FFFFFF#000000##FFFFFF
##2B797C1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71747C
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b797c;
/* rgb */ color: rgb(43, 121, 124);
/* oklch */ color: oklch(53.0% 0.075 198.7);
Tailwind
colors: {
  custom: {
    50: '#6fa0a1',
    500: '#2b797c',
    950: '#000000',
  },
}
SCSS
$custom: #2b797c;
$custom-light: #6fa0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b797c",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 182.222,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53037,
    "c": 0.07471,
    "h": 198.7
  },
  "luminance": 0.15644
}

Semantic roles & 50–950 ramp

primary
#2B797C
secondary
#AC5A57
accent
#5550D8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #2B797C

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

Preview Lab → · Contrast checker → · Palette generator →

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