#407C87#407C87

#407C87 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 55.0% C 0.064 H 210.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#407C87
RGBrgb(64, 124, 135)
HSLhsl(189, 36%, 39%)
HSVhsv(189, 53%, 53%)
CMYKcmyk(52.6%, 8.1%, 0%, 47.1%)
CIE-LABlab(48.58, -16.24, -11.98)
CIE-LCHlch(48.58, 20.18, 216.42°)
OKLaboklab(55.04% -0.0553 -0.0331)
OKLCHoklch(55.04% 0.064 210.9)
XYZxyz(13.6935, 17.2534, 25.5256)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407C87 #874B40
analogous
#40876F #407C87 #405987
triadic
#407C87 #87407C #7C8740
tetradic
#407C87 #6F4087 #874B40 #598740
square
#407C87 #6F4087 #874B40 #598740
split-complementary
#407C87 #874059 #876F40
monochromatic
#193034 #2C565D #407C87 #56A1AF #7FB8C2

Accessibility & contrast

On white

4.72
#407C87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#407C87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407C87
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407C87#FFFFFF#000000##FFFFFF
##407C871.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737888
Deuteranopia (green-blind)
#687087
Tritanopia (blue-blind)
#11817F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #407c87;
/* rgb */ color: rgb(64, 124, 135);
/* oklch */ color: oklch(55.0% 0.064 210.9);
Tailwind
colors: {
  custom: {
    50: '#7ba2aa',
    500: '#407c87',
    950: '#000000',
  },
}
SCSS
$custom: #407c87;
$custom-light: #7ba2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#407c87",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 135
  },
  "hsl": {
    "h": 189.296,
    "s": 35.678,
    "l": 39.02
  },
  "oklch": {
    "l": 0.55041,
    "c": 0.06447,
    "h": 210.9
  },
  "luminance": 0.17255
}

Semantic roles & 50–950 ramp

primary
#407C87
secondary
#AD7F76
accent
#6D5CCC
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#0A0F10
muted
#7C7E7F

Preview Lab

Preview with #407C87

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

Preview Lab → · Contrast checker → · Palette generator →

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