#407B79#407B79

#407B79 is a mid, moderate teal. Relative luminance 0.166; OKLCH L 54.3% C 0.062 H 192.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#407B79
RGBrgb(64, 123, 121)
HSLhsl(178, 32%, 37%)
HSVhsv(178, 48%, 48%)
CMYKcmyk(48%, 0%, 1.6%, 51.8%)
CIE-LABlab(47.80, -19.73, -4.88)
CIE-LCHlch(47.80, 20.32, 193.88°)
OKLaboklab(54.26% -0.0603 -0.0135)
OKLCHoklch(54.26% 0.062 192.6)
XYZxyz(12.6471, 16.6353, 20.6299)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407B79 #7B4042
analogous
#407B5C #407B79 #40607B
triadic
#407B79 #79407B #7B7940
tetradic
#407B79 #5C407B #7B4042 #607B40
square
#407B79 #5C407B #7B4042 #607B40
split-complementary
#407B79 #7B4060 #7B5C40
monochromatic
#162A2A #2B5351 #407B79 #55A3A1 #7BBAB8

Accessibility & contrast

On white

4.85
#407B79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#407B79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407B79
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407B79#FFFFFF#000000##FFFFFF
##407B791.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757679
Deuteranopia (green-blind)
#6B6E7A
Tritanopia (blue-blind)
#217E7A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #407b79;
/* rgb */ color: rgb(64, 123, 121);
/* oklch */ color: oklch(54.3% 0.062 192.6);
Tailwind
colors: {
  custom: {
    50: '#7aa19f',
    500: '#407b79',
    950: '#000000',
  },
}
SCSS
$custom: #407b79;
$custom-light: #7aa19f;
$custom-dark: #000000;
JSON
{
  "hex": "#407b79",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 121
  },
  "hsl": {
    "h": 177.966,
    "s": 31.551,
    "l": 36.667
  },
  "oklch": {
    "l": 0.5426,
    "c": 0.06184,
    "h": 192.6
  },
  "luminance": 0.16636
}

Semantic roles & 50–950 ramp

primary
#407B79
secondary
#A57274
accent
#6064C8
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090F0E
muted
#7B7E7E

Preview Lab

Preview with #407B79

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

Preview Lab → · Contrast checker → · Palette generator →

#407B79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva