#407B7A#407B7A

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

Color values

HEX#407B7A
RGBrgb(64, 123, 122)
HSLhsl(179, 32%, 37%)
HSVhsv(179, 48%, 48%)
CMYKcmyk(48%, 0%, 0.8%, 51.8%)
CIE-LABlab(47.83, -19.45, -5.42)
CIE-LCHlch(47.83, 20.19, 195.58°)
OKLaboklab(54.3% -0.0599 -0.015)
OKLCHoklch(54.3% 0.062 194)
XYZxyz(12.7088, 16.6600, 20.9546)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407B7A #7B4041
analogous
#407B5D #407B7A #405F7B
triadic
#407B7A #7A407B #7B7A40
tetradic
#407B7A #5D407B #7B4041 #5F7B40
square
#407B7A #5D407B #7B4041 #5F7B40
split-complementary
#407B7A #7B405F #7B5D40
monochromatic
#162A2A #2B5352 #407B7A #55A3A2 #7BBAB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407B7A#FFFFFF#000000##FFFFFF
##407B7A1.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)
#75767A
Deuteranopia (green-blind)
#6A6E7B
Tritanopia (blue-blind)
#207E7A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #407b7a;
/* rgb */ color: rgb(64, 123, 122);
/* oklch */ color: oklch(54.3% 0.062 194.0);
Tailwind
colors: {
  custom: {
    50: '#7aa1a0',
    500: '#407b7a',
    950: '#000000',
  },
}
SCSS
$custom: #407b7a;
$custom-light: #7aa1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#407b7a",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 122
  },
  "hsl": {
    "h": 178.983,
    "s": 31.551,
    "l": 36.667
  },
  "oklch": {
    "l": 0.54296,
    "c": 0.06174,
    "h": 194
  },
  "luminance": 0.16661
}

Semantic roles & 50–950 ramp

primary
#407B7A
secondary
#A57273
accent
#6062C8
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090F0E
muted
#7B7E7E

Preview Lab

Preview with #407B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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