#3A797D#3A797D

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

Color values

HEX#3A797D
RGBrgb(58, 121, 125)
HSLhsl(184, 37%, 36%)
HSVhsv(184, 54%, 49%)
CMYKcmyk(53.6%, 3.2%, 0%, 51%)
CIE-LABlab(47.05, -18.96, -8.39)
CIE-LCHlch(47.05, 20.73, 203.88°)
OKLaboklab(53.63% -0.0606 -0.0232)
OKLCHoklch(53.63% 0.065 200.9)
XYZxyz(12.2825, 16.0538, 21.8495)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A797D #7D3E3A
analogous
#3A7D5F #3A797D #3A577D
triadic
#3A797D #7D3A79 #797D3A
tetradic
#3A797D #5F3A7D #7D3E3A #577D3A
square
#3A797D #5F3A7D #7D3E3A #577D3A
split-complementary
#3A797D #7D3A57 #7D5F3A
monochromatic
#132829 #275153 #3A797D #4DA1A7 #73BABE

Accessibility & contrast

On white

4.99
#3A797D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#3A797D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A797D
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A797D#FFFFFF#000000##FFFFFF
##3A797D1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71747D
Deuteranopia (green-blind)
#666C7D
Tritanopia (blue-blind)
#067D7A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a797d;
/* rgb */ color: rgb(58, 121, 125);
/* oklch */ color: oklch(53.6% 0.065 200.9);
Tailwind
colors: {
  custom: {
    50: '#76a0a2',
    500: '#3a797d',
    950: '#000000',
  },
}
SCSS
$custom: #3a797d;
$custom-light: #76a0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a797d",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 183.582,
    "s": 36.612,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5363,
    "c": 0.06487,
    "h": 200.9
  },
  "luminance": 0.16055
}

Semantic roles & 50–950 ramp

primary
#3A797D
secondary
#A86F6B
accent
#625BCD
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#090E0F
muted
#7B7E7E

Preview Lab

Preview with #3A797D

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

Preview Lab → · Contrast checker → · Palette generator →

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