#2A797C#2A797C

#2A797C 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#2A797C
RGBrgb(42, 121, 124)
HSLhsl(182, 49%, 33%)
HSVhsv(182, 66%, 49%)
CMYKcmyk(66.1%, 2.4%, 0%, 51.4%)
CIE-LABlab(46.47, -22.49, -8.71)
CIE-LCHlch(46.47, 24.12, 201.17°)
OKLaboklab(53.01% -0.0713 -0.0241)
OKLCHoklch(53.01% 0.075 198.7)
XYZxyz(11.4287, 15.6210, 21.4777)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A797C #7C2D2A
analogous
#2A7C56 #2A797C #2A507C
triadic
#2A797C #7C2A79 #797C2A
tetradic
#2A797C #562A7C #7C2D2A #507C2A
square
#2A797C #562A7C #7C2D2A #507C2A
split-complementary
#2A797C #7C2A50 #7C562A
monochromatic
#0B2021 #1B4C4E #2A797C #39A6AA #59C3C7

Accessibility & contrast

On white

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

On black

4.12
#2A797C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A797C#FFFFFF#000000##FFFFFF
##2A797C1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a797c;
/* rgb */ color: rgb(42, 121, 124);
/* oklch */ color: oklch(53.0% 0.075 198.7);
Tailwind
colors: {
  custom: {
    50: '#6fa0a1',
    500: '#2a797c',
    950: '#000000',
  },
}
SCSS
$custom: #2a797c;
$custom-light: #6fa0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a797c",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 182.195,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53006,
    "c": 0.07528,
    "h": 198.7
  },
  "luminance": 0.15622
}

Semantic roles & 50–950 ramp

primary
#2A797C
secondary
#AD5855
accent
#544FD9
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #2A797C

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

Preview Lab → · Contrast checker → · Palette generator →

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