#407977#407977

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

Color values

HEX#407977
RGBrgb(64, 121, 119)
HSLhsl(178, 31%, 36%)
HSVhsv(178, 47%, 47%)
CMYKcmyk(47.1%, 0%, 1.7%, 52.5%)
CIE-LABlab(47.10, -19.21, -4.72)
CIE-LCHlch(47.10, 19.78, 193.81°)
OKLaboklab(53.68% -0.0588 -0.0131)
OKLCHoklch(53.68% 0.06 192.5)
XYZxyz(12.2802, 16.0956, 19.9088)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407977 #794042
analogous
#40795B #407977 #405F79
triadic
#407977 #774079 #797740
tetradic
#407977 #5B4079 #794042 #5F7940
square
#407977 #5B4079 #794042 #5F7940
split-complementary
#407977 #79405F #795B40
monochromatic
#162928 #2B5150 #407977 #55A19E #7AB9B7

Accessibility & contrast

On white

4.98
#407977 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#407977 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407977
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407977#FFFFFF#000000##FFFFFF
##4079771.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737477
Deuteranopia (green-blind)
#696D78
Tritanopia (blue-blind)
#237C78
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #407977;
/* rgb */ color: rgb(64, 121, 119);
/* oklch */ color: oklch(53.7% 0.060 192.5);
Tailwind
colors: {
  custom: {
    50: '#79a09e',
    500: '#407977',
    950: '#000000',
  },
}
SCSS
$custom: #407977;
$custom-light: #79a09e;
$custom-dark: #000000;
JSON
{
  "hex": "#407977",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 119
  },
  "hsl": {
    "h": 177.895,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.53678,
    "c": 0.0602,
    "h": 192.5
  },
  "luminance": 0.16097
}

Semantic roles & 50–950 ramp

primary
#407977
secondary
#A47173
accent
#6164C7
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090E0E
muted
#7B7E7E

Preview Lab

Preview with #407977

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

Preview Lab → · Contrast checker → · Palette generator →

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