#3A797A#3A797A

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

Color values

HEX#3A797A
RGBrgb(58, 121, 122)
HSLhsl(181, 36%, 35%)
HSVhsv(181, 52%, 48%)
CMYKcmyk(52.5%, 0.8%, 0%, 52.2%)
CIE-LABlab(46.95, -19.84, -6.76)
CIE-LCHlch(46.95, 20.96, 198.82°)
OKLaboklab(53.52% -0.062 -0.0187)
OKLCHoklch(53.52% 0.065 196.8)
XYZxyz(12.0937, 15.9783, 20.8554)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A797A #7A3B3A
analogous
#3A7A5B #3A797A #3A597A
triadic
#3A797A #7A3A79 #797A3A
tetradic
#3A797A #5B3A7A #7A3B3A #597A3A
square
#3A797A #5B3A7A #7A3B3A #597A3A
split-complementary
#3A797A #7A3A59 #7A5B3A
monochromatic
#132727 #265051 #3A797A #4EA2A3 #72BBBC

Accessibility & contrast

On white

5.01
#3A797A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A797A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A797A#FFFFFF#000000##FFFFFF
##3A797A1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72747A
Deuteranopia (green-blind)
#676C7A
Tritanopia (blue-blind)
#0C7D79
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a797a;
/* rgb */ color: rgb(58, 121, 122);
/* oklch */ color: oklch(53.5% 0.065 196.8);
Tailwind
colors: {
  custom: {
    50: '#76a0a0',
    500: '#3a797a',
    950: '#000000',
  },
}
SCSS
$custom: #3a797a;
$custom-light: #76a0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a797a",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 180.938,
    "s": 35.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.53517,
    "c": 0.06471,
    "h": 196.8
  },
  "luminance": 0.15979
}

Semantic roles & 50–950 ramp

primary
#3A797A
secondary
#A66B6A
accent
#5E5CCC
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#090E0E
muted
#7B7E7E

Preview Lab

Preview with #3A797A

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

Preview Lab → · Contrast checker → · Palette generator →

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