#3A795D#3A795D

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

Color values

HEX#3A795D
RGBrgb(58, 121, 93)
HSLhsl(153, 35%, 35%)
HSVhsv(153, 52%, 47%)
CMYKcmyk(52.1%, 0%, 23.1%, 52.5%)
CIE-LABlab(46.13, -27.45, 9.24)
CIE-LCHlch(46.13, 28.96, 161.40°)
OKLaboklab(52.59% -0.076 0.0237)
OKLCHoklch(52.59% 0.08 162.7)
XYZxyz(10.5572, 15.3637, 12.7630)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A795D #793A56
analogous
#3A793D #3A795D #3A7679
triadic
#3A795D #5D3A79 #795D3A
tetradic
#3A795D #3D3A79 #793A56 #76793A
square
#3A795D #3D3A79 #793A56 #76793A
split-complementary
#3A795D #793A76 #793D3A
monochromatic
#12261D #26503D #3A795D #4EA27D #72BB9B

Accessibility & contrast

On white

5.16
#3A795D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#3A795D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A795D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A795D#FFFFFF#000000##FFFFFF
##3A795D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a795d;
/* rgb */ color: rgb(58, 121, 93);
/* oklch */ color: oklch(52.6% 0.080 162.7);
Tailwind
colors: {
  custom: {
    50: '#75a08b',
    500: '#3a795d',
    950: '#000000',
  },
}
SCSS
$custom: #3a795d;
$custom-light: #75a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a795d",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 93
  },
  "hsl": {
    "h": 153.333,
    "s": 35.196,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52585,
    "c": 0.07962,
    "h": 162.7
  },
  "luminance": 0.15365
}

Semantic roles & 50–950 ramp

primary
#3A795D
secondary
#A56A84
accent
#5D8ECB
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#090F0C
muted
#7B7E7D

Preview Lab

Preview with #3A795D

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

Preview Lab → · Contrast checker → · Palette generator →

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