#407A7B#407A7B

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

Color values

HEX#407A7B
RGBrgb(64, 122, 123)
HSLhsl(181, 32%, 37%)
HSVhsv(181, 48%, 48%)
CMYKcmyk(48%, 0.8%, 0%, 51.8%)
CIE-LABlab(47.54, -18.63, -6.44)
CIE-LCHlch(47.54, 19.71, 199.06°)
OKLaboklab(54.08% -0.0582 -0.0177)
OKLCHoklch(54.08% 0.061 197)
XYZxyz(12.6476, 16.4381, 21.2414)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407A7B #7B4140
analogous
#407B5F #407A7B #405D7B
triadic
#407A7B #7B407A #7A7B40
tetradic
#407A7B #5F407B #7B4140 #5D7B40
square
#407A7B #5F407B #7B4140 #5D7B40
split-complementary
#407A7B #7B405D #7B5F40
monochromatic
#162A2A #2B5253 #407A7B #55A2A3 #7BB9BA

Accessibility & contrast

On white

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

On black

4.29
#407A7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##407A7B#FFFFFF#000000##FFFFFF
##407A7B1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73757B
Deuteranopia (green-blind)
#696E7B
Tritanopia (blue-blind)
#1F7D7A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #407a7b;
/* rgb */ color: rgb(64, 122, 123);
/* oklch */ color: oklch(54.1% 0.061 197.0);
Tailwind
colors: {
  custom: {
    50: '#7aa0a1',
    500: '#407a7b',
    950: '#000000',
  },
}
SCSS
$custom: #407a7b;
$custom-light: #7aa0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#407a7b",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 123
  },
  "hsl": {
    "h": 181.017,
    "s": 31.551,
    "l": 36.667
  },
  "oklch": {
    "l": 0.54078,
    "c": 0.06083,
    "h": 197
  },
  "luminance": 0.16439
}

Semantic roles & 50–950 ramp

primary
#407A7B
secondary
#A57372
accent
#6260C8
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090E0E
muted
#7B7E7E

Preview Lab

Preview with #407A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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