#3A797B#3A797B

#3A797B is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.6% C 0.065 H 198.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3A797B
RGBrgb(58, 121, 123)
HSLhsl(182, 36%, 35%)
HSVhsv(182, 53%, 48%)
CMYKcmyk(52.8%, 1.6%, 0%, 51.8%)
CIE-LABlab(46.98, -19.54, -7.30)
CIE-LCHlch(46.98, 20.87, 200.49°)
OKLaboklab(53.55% -0.0615 -0.0202)
OKLCHoklch(53.55% 0.065 198.2)
XYZxyz(12.1560, 16.0032, 21.1834)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A797B #7B3C3A
analogous
#3A7B5C #3A797B #3A587B
triadic
#3A797B #7B3A79 #797B3A
tetradic
#3A797B #5C3A7B #7B3C3A #587B3A
square
#3A797B #5C3A7B #7B3C3A #587B3A
split-complementary
#3A797B #7B3A58 #7B5C3A
monochromatic
#132728 #265051 #3A797B #4EA2A5 #73BBBD

Accessibility & contrast

On white

5.00
#3A797B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#3A797B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A797B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A797B#FFFFFF#000000##FFFFFF
##3A797B1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72747B
Deuteranopia (green-blind)
#676C7B
Tritanopia (blue-blind)
#0A7D79
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a797b;
/* rgb */ color: rgb(58, 121, 123);
/* oklch */ color: oklch(53.6% 0.065 198.2);
Tailwind
colors: {
  custom: {
    50: '#76a0a1',
    500: '#3a797b',
    950: '#000000',
  },
}
SCSS
$custom: #3a797b;
$custom-light: #76a0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a797b",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 181.846,
    "s": 35.912,
    "l": 35.49
  },
  "oklch": {
    "l": 0.53554,
    "c": 0.06472,
    "h": 198.2
  },
  "luminance": 0.16004
}

Semantic roles & 50–950 ramp

primary
#3A797B
secondary
#A66C6B
accent
#5F5CCC
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#090E0E
muted
#7B7E7E

Preview Lab

Preview with #3A797B

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

Preview Lab → · Contrast checker → · Palette generator →

#3A797B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva