#3F795D#3F795D

#3F795D is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.8% C 0.076 H 161.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3F795D
RGBrgb(63, 121, 93)
HSLhsl(151, 32%, 36%)
HSVhsv(151, 48%, 47%)
CMYKcmyk(47.9%, 0%, 23.1%, 52.5%)
CIE-LABlab(46.34, -26.07, 9.57)
CIE-LCHlch(46.34, 27.76, 159.85°)
OKLaboklab(52.82% -0.0721 0.0245)
OKLCHoklch(52.82% 0.076 161.2)
XYZxyz(10.8622, 15.5210, 12.7773)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F795D #793F5B
analogous
#3F7940 #3F795D #3F7879
triadic
#3F795D #5D3F79 #795D3F
tetradic
#3F795D #403F79 #793F5B #78793F
square
#3F795D #403F79 #793F5B #78793F
split-complementary
#3F795D #793F78 #79403F
monochromatic
#15291F #2A513E #3F795D #54A17C #79B99A

Accessibility & contrast

On white

5.12
#3F795D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3F795D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F795D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F795D#FFFFFF#000000##FFFFFF
##3F795D1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78725B
Deuteranopia (green-blind)
#6F6B5F
Tritanopia (blue-blind)
#2F7971
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3f795d;
/* rgb */ color: rgb(63, 121, 93);
/* oklch */ color: oklch(52.8% 0.076 161.2);
Tailwind
colors: {
  custom: {
    50: '#78a08b',
    500: '#3f795d',
    950: '#000000',
  },
}
SCSS
$custom: #3f795d;
$custom-light: #78a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f795d",
  "rgb": {
    "r": 63,
    "g": 121,
    "b": 93
  },
  "hsl": {
    "h": 151.034,
    "s": 31.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.52815,
    "c": 0.07619,
    "h": 161.2
  },
  "luminance": 0.15522
}

Semantic roles & 50–950 ramp

primary
#3F795D
secondary
#A47089
accent
#6092C8
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#090E0C
muted
#7B7E7D

Preview Lab

Preview with #3F795D

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

Preview Lab → · Contrast checker → · Palette generator →

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