#2B797E#2B797E

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

Color values

HEX#2B797E
RGBrgb(43, 121, 126)
HSLhsl(184, 49%, 33%)
HSVhsv(184, 66%, 49%)
CMYKcmyk(65.9%, 4%, 0%, 50.6%)
CIE-LABlab(46.57, -21.70, -9.75)
CIE-LCHlch(46.57, 23.79, 204.20°)
OKLaboklab(53.12% -0.0698 -0.027)
OKLCHoklch(53.12% 0.075 201.2)
XYZxyz(11.5979, 15.6934, 22.1525)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B797E #7E302B
analogous
#2B7E59 #2B797E #2B507E
triadic
#2B797E #7E2B79 #797E2B
tetradic
#2B797E #592B7E #7E302B #507E2B
square
#2B797E #592B7E #7E302B #507E2B
split-complementary
#2B797E #7E2B50 #7E592B
monochromatic
#0C2123 #1B4D50 #2B797E #3BA5AC #5CC1C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B797E#FFFFFF#000000##FFFFFF
##2B797E1.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)
#70747E
Deuteranopia (green-blind)
#636A7E
Tritanopia (blue-blind)
#007E7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b797e;
/* rgb */ color: rgb(43, 121, 126);
/* oklch */ color: oklch(53.1% 0.075 201.2);
Tailwind
colors: {
  custom: {
    50: '#70a0a3',
    500: '#2b797e',
    950: '#000000',
  },
}
SCSS
$custom: #2b797e;
$custom-light: #70a0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b797e",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 183.614,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53115,
    "c": 0.07488,
    "h": 201.2
  },
  "luminance": 0.15695
}

Semantic roles & 50–950 ramp

primary
#2B797E
secondary
#AD5D58
accent
#574FD9
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2B797E

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

Preview Lab → · Contrast checker → · Palette generator →

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