#407C7A#407C7A

#407C7A is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.6% C 0.063 H 192.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#407C7A
RGBrgb(64, 124, 122)
HSLhsl(178, 32%, 37%)
HSVhsv(178, 48%, 49%)
CMYKcmyk(48.4%, 0%, 1.6%, 51.4%)
CIE-LABlab(48.15, -19.98, -4.95)
CIE-LCHlch(48.15, 20.58, 193.92°)
OKLaboklab(54.55% -0.0611 -0.0137)
OKLCHoklch(54.55% 0.063 192.6)
XYZxyz(12.8334, 16.9094, 20.9961)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407C7A #7C4042
analogous
#407C5C #407C7A #40607C
triadic
#407C7A #7A407C #7C7A40
tetradic
#407C7A #5C407C #7C4042 #607C40
square
#407C7A #5C407C #7C4042 #607C40
split-complementary
#407C7A #7C4060 #7C5C40
monochromatic
#162B2B #2B5452 #407C7A #55A4A2 #7BBBB9

Accessibility & contrast

On white

4.79
#407C7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#407C7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407C7A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407C7A#FFFFFF#000000##FFFFFF
##407C7A1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76777A
Deuteranopia (green-blind)
#6B6F7B
Tritanopia (blue-blind)
#207F7B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #407c7a;
/* rgb */ color: rgb(64, 124, 122);
/* oklch */ color: oklch(54.6% 0.063 192.6);
Tailwind
colors: {
  custom: {
    50: '#7aa2a0',
    500: '#407c7a',
    950: '#000000',
  },
}
SCSS
$custom: #407c7a;
$custom-light: #7aa2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#407c7a",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 122
  },
  "hsl": {
    "h": 178,
    "s": 31.915,
    "l": 36.863
  },
  "oklch": {
    "l": 0.54551,
    "c": 0.06266,
    "h": 192.6
  },
  "luminance": 0.1691
}

Semantic roles & 50–950 ramp

primary
#407C7A
secondary
#A67274
accent
#6063C8
background
#F7FAF9
surface
#EEF3F2
border
#C9CDCC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #407C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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