#2A797E#2A797E

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

Color values

HEX#2A797E
RGBrgb(42, 121, 126)
HSLhsl(184, 50%, 33%)
HSVhsv(184, 67%, 49%)
CMYKcmyk(66.7%, 4%, 0%, 50.6%)
CIE-LABlab(46.54, -21.87, -9.80)
CIE-LCHlch(46.54, 23.96, 204.13°)
OKLaboklab(53.08% -0.0704 -0.0271)
OKLCHoklch(53.08% 0.075 201.1)
XYZxyz(11.5565, 15.6721, 22.1506)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A797E #7E2F2A
analogous
#2A7E59 #2A797E #2A4F7E
triadic
#2A797E #7E2A79 #797E2A
tetradic
#2A797E #592A7E #7E2F2A #4F7E2A
square
#2A797E #592A7E #7E2F2A #4F7E2A
split-complementary
#2A797E #7E2A4F #7E592A
monochromatic
#0B2122 #1B4D50 #2A797E #39A5AC #5AC2C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2a797e;
/* rgb */ color: rgb(42, 121, 126);
/* oklch */ color: oklch(53.1% 0.075 201.1);
Tailwind
colors: {
  custom: {
    50: '#6fa0a3',
    500: '#2a797e',
    950: '#000000',
  },
}
SCSS
$custom: #2a797e;
$custom-light: #6fa0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a797e",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 183.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53084,
    "c": 0.07544,
    "h": 201.1
  },
  "luminance": 0.15673
}

Semantic roles & 50–950 ramp

primary
#2A797E
secondary
#AE5B56
accent
#574EDA
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A797E

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

Preview Lab → · Contrast checker → · Palette generator →

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