#3A795E#3A795E

#3A795E is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.6% C 0.079 H 163.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#3A795E
RGBrgb(58, 121, 94)
HSLhsl(154, 35%, 35%)
HSVhsv(154, 52%, 47%)
CMYKcmyk(52.1%, 0%, 22.3%, 52.5%)
CIE-LABlab(46.15, -27.21, 8.68)
CIE-LCHlch(46.15, 28.56, 162.30°)
OKLaboklab(52.61% -0.0755 0.0223)
OKLCHoklch(52.61% 0.079 163.6)
XYZxyz(10.6018, 15.3816, 12.9978)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A795E #793A55
analogous
#3A793E #3A795E #3A7479
triadic
#3A795E #5E3A79 #795E3A
tetradic
#3A795E #3E3A79 #793A55 #74793A
square
#3A795E #3E3A79 #793A55 #74793A
split-complementary
#3A795E #793A74 #793E3A
monochromatic
#12261E #26503E #3A795E #4EA27E #72BB9C

Accessibility & contrast

On white

5.15
#3A795E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#3A795E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A795E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A795E#FFFFFF#000000##FFFFFF
##3A795E1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715D
Deuteranopia (green-blind)
#6E6B60
Tritanopia (blue-blind)
#257971
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a795e;
/* rgb */ color: rgb(58, 121, 94);
/* oklch */ color: oklch(52.6% 0.079 163.6);
Tailwind
colors: {
  custom: {
    50: '#75a08b',
    500: '#3a795e',
    950: '#000000',
  },
}
SCSS
$custom: #3a795e;
$custom-light: #75a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a795e",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 154.286,
    "s": 35.196,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52612,
    "c": 0.07874,
    "h": 163.6
  },
  "luminance": 0.15382
}

Semantic roles & 50–950 ramp

primary
#3A795E
secondary
#A56A83
accent
#5D8CCB
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#090E0C
muted
#7B7E7D

Preview Lab

Preview with #3A795E

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

Preview Lab → · Contrast checker → · Palette generator →

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