#2B797D#2B797D

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

Color values

HEX#2B797D
RGBrgb(43, 121, 125)
HSLhsl(183, 49%, 33%)
HSVhsv(183, 66%, 49%)
CMYKcmyk(65.6%, 3.2%, 0%, 51%)
CIE-LABlab(46.54, -22.01, -9.21)
CIE-LCHlch(46.54, 23.86, 202.70°)
OKLaboklab(53.08% -0.0703 -0.0255)
OKLCHoklch(53.08% 0.075 200)
XYZxyz(11.5337, 15.6678, 21.8144)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B797D #7D2F2B
analogous
#2B7D58 #2B797D #2B507D
triadic
#2B797D #7D2B79 #797D2B
tetradic
#2B797D #582B7D #7D2F2B #507D2B
square
#2B797D #582B7D #7D2F2B #507D2B
split-complementary
#2B797D #7D2B50 #7D582B
monochromatic
#0C2122 #1B4D4F #2B797D #3BA5AB #5CC2C7

Accessibility & contrast

On white

5.08
#2B797D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B797D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B797D#FFFFFF#000000##FFFFFF
##2B797D1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70747D
Deuteranopia (green-blind)
#646A7D
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b797d;
/* rgb */ color: rgb(43, 121, 125);
/* oklch */ color: oklch(53.1% 0.075 200.0);
Tailwind
colors: {
  custom: {
    50: '#70a0a2',
    500: '#2b797d',
    950: '#000000',
  },
}
SCSS
$custom: #2b797d;
$custom-light: #70a0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b797d",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 182.927,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53076,
    "c": 0.07477,
    "h": 200
  },
  "luminance": 0.15669
}

Semantic roles & 50–950 ramp

primary
#2B797D
secondary
#AD5B57
accent
#564FD8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #2B797D

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

Preview Lab → · Contrast checker → · Palette generator →

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