#407A7A#407A7A

#407A7A is a mid, moderate teal. Relative luminance 0.164; OKLCH L 54.0% C 0.061 H 195.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#407A7A
RGBrgb(64, 122, 122)
HSLhsl(180, 31%, 36%)
HSVhsv(180, 48%, 48%)
CMYKcmyk(47.5%, 0%, 0%, 52.2%)
CIE-LABlab(47.51, -18.91, -5.89)
CIE-LCHlch(47.51, 19.81, 197.30°)
OKLaboklab(54.04% -0.0586 -0.0163)
OKLCHoklch(54.04% 0.061 195.5)
XYZxyz(12.5853, 16.4132, 20.9134)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407A7A #7A4040
analogous
#407A5D #407A7A #405D7A
triadic
#407A7A #7A407A #7A7A40
tetradic
#407A7A #5D407A #7A4040 #5D7A40
square
#407A7A #5D407A #7A4040 #5D7A40
split-complementary
#407A7A #7A405D #7A5D40
monochromatic
#162A2A #2B5252 #407A7A #55A2A2 #7BBABA

Accessibility & contrast

On white

4.90
#407A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#407A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407A7A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407A7A#FFFFFF#000000##FFFFFF
##407A7A1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73757A
Deuteranopia (green-blind)
#696E7A
Tritanopia (blue-blind)
#207D7A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #407a7a;
/* rgb */ color: rgb(64, 122, 122);
/* oklch */ color: oklch(54.0% 0.061 195.5);
Tailwind
colors: {
  custom: {
    50: '#7aa0a0',
    500: '#407a7a',
    950: '#000000',
  },
}
SCSS
$custom: #407a7a;
$custom-light: #7aa0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#407a7a",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 122
  },
  "hsl": {
    "h": 180,
    "s": 31.183,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54041,
    "c": 0.06085,
    "h": 195.5
  },
  "luminance": 0.16414
}

Semantic roles & 50–950 ramp

primary
#407A7A
secondary
#A47272
accent
#6060C7
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090E0E
muted
#7B7E7E

Preview Lab

Preview with #407A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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