#407979#407979

#407979 is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.8% C 0.060 H 195.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#407979
RGBrgb(64, 121, 121)
HSLhsl(180, 31%, 36%)
HSVhsv(180, 47%, 47%)
CMYKcmyk(47.1%, 0%, 0%, 52.5%)
CIE-LABlab(47.16, -18.65, -5.82)
CIE-LCHlch(47.16, 19.54, 197.32°)
OKLaboklab(53.75% -0.0578 -0.0161)
OKLCHoklch(53.75% 0.06 195.5)
XYZxyz(12.4016, 16.1442, 20.5481)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407979 #794040
analogous
#40795D #407979 #405D79
triadic
#407979 #794079 #797940
tetradic
#407979 #5D4079 #794040 #5D7940
square
#407979 #5D4079 #794040 #5D7940
split-complementary
#407979 #79405D #795D40
monochromatic
#162929 #2B5151 #407979 #55A1A1 #7AB9B9

Accessibility & contrast

On white

4.97
#407979 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#407979 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407979
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407979#FFFFFF#000000##FFFFFF
##4079791.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737479
Deuteranopia (green-blind)
#686D79
Tritanopia (blue-blind)
#217C79
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #407979;
/* rgb */ color: rgb(64, 121, 121);
/* oklch */ color: oklch(53.8% 0.060 195.5);
Tailwind
colors: {
  custom: {
    50: '#79a09f',
    500: '#407979',
    950: '#000000',
  },
}
SCSS
$custom: #407979;
$custom-light: #79a09f;
$custom-dark: #000000;
JSON
{
  "hex": "#407979",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 121
  },
  "hsl": {
    "h": 180,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5375,
    "c": 0.06003,
    "h": 195.5
  },
  "luminance": 0.16145
}

Semantic roles & 50–950 ramp

primary
#407979
secondary
#A47171
accent
#6161C7
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090E0E
muted
#7B7E7E

Preview Lab

Preview with #407979

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

Preview Lab → · Contrast checker → · Palette generator →

#407979 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva