#407A6F#407A6F

#407A6F is a mid, moderate teal. Relative luminance 0.162; OKLCH L 53.7% C 0.064 H 180.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#407A6F
RGBrgb(64, 122, 111)
HSLhsl(169, 31%, 36%)
HSVhsv(169, 48%, 48%)
CMYKcmyk(47.5%, 0%, 9%, 52.2%)
CIE-LABlab(47.18, -21.89, 0.14)
CIE-LCHlch(47.18, 21.89, 179.64°)
OKLaboklab(53.66% -0.0638 0)
OKLCHoklch(53.66% 0.064 180)
XYZxyz(11.9420, 16.1558, 17.5249)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407A6F #7A404B
analogous
#407A52 #407A6F #40687A
triadic
#407A6F #6F407A #7A6F40
tetradic
#407A6F #52407A #7A404B #687A40
square
#407A6F #52407A #7A404B #687A40
split-complementary
#407A6F #7A4068 #7A5240
monochromatic
#162A26 #2B524A #407A6F #55A294 #7BBAAE

Accessibility & contrast

On white

4.96
#407A6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#407A6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407A6F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407A6F#FFFFFF#000000##FFFFFF
##407A6F1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76746F
Deuteranopia (green-blind)
#6C6D70
Tritanopia (blue-blind)
#287C77
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #407a6f;
/* rgb */ color: rgb(64, 122, 111);
/* oklch */ color: oklch(53.7% 0.064 180.0);
Tailwind
colors: {
  custom: {
    50: '#79a098',
    500: '#407a6f',
    950: '#000000',
  },
}
SCSS
$custom: #407a6f;
$custom-light: #79a098;
$custom-dark: #000000;
JSON
{
  "hex": "#407a6f",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 111
  },
  "hsl": {
    "h": 168.621,
    "s": 31.183,
    "l": 36.471
  },
  "oklch": {
    "l": 0.53662,
    "c": 0.0638,
    "h": 180
  },
  "luminance": 0.16157
}

Semantic roles & 50–950 ramp

primary
#407A6F
secondary
#A4727B
accent
#6074C7
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090F0D
muted
#7B7E7E

Preview Lab

Preview with #407A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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