#407B7C#407B7C

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

Color values

HEX#407B7C
RGBrgb(64, 123, 124)
HSLhsl(181, 32%, 37%)
HSVhsv(181, 48%, 49%)
CMYKcmyk(48.4%, 0.8%, 0%, 51.4%)
CIE-LABlab(47.89, -18.89, -6.51)
CIE-LCHlch(47.89, 19.98, 199.02°)
OKLaboklab(54.37% -0.059 -0.018)
OKLCHoklch(54.37% 0.062 196.9)
XYZxyz(12.8340, 16.7101, 21.6139)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407B7C #7C4140
analogous
#407C5F #407B7C #405D7C
triadic
#407B7C #7C407B #7B7C40
tetradic
#407B7C #5F407C #7C4140 #5D7C40
square
#407B7C #5F407C #7C4140 #5D7C40
split-complementary
#407B7C #7C405D #7C5F40
monochromatic
#162B2B #2B5354 #407B7C #55A3A4 #7BBABB

Accessibility & contrast

On white

4.84
#407B7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#407B7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407B7C
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407B7C#FFFFFF#000000##FFFFFF
##407B7C1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74767C
Deuteranopia (green-blind)
#6A6E7C
Tritanopia (blue-blind)
#1E7E7B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #407b7c;
/* rgb */ color: rgb(64, 123, 124);
/* oklch */ color: oklch(54.4% 0.062 196.9);
Tailwind
colors: {
  custom: {
    50: '#7aa1a1',
    500: '#407b7c',
    950: '#000000',
  },
}
SCSS
$custom: #407b7c;
$custom-light: #7aa1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#407b7c",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 124
  },
  "hsl": {
    "h": 181,
    "s": 31.915,
    "l": 36.863
  },
  "oklch": {
    "l": 0.54368,
    "c": 0.06165,
    "h": 196.9
  },
  "luminance": 0.16711
}

Semantic roles & 50–950 ramp

primary
#407B7C
secondary
#A67372
accent
#6160C8
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090F0F
muted
#7B7E7E

Preview Lab

Preview with #407B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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