#407E8A#407E8A

#407E8A is a mid, moderate teal. Relative luminance 0.178; OKLCH L 55.7% C 0.066 H 211.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#407E8A
RGBrgb(64, 126, 138)
HSLhsl(190, 37%, 40%)
HSVhsv(190, 54%, 54%)
CMYKcmyk(53.6%, 8.7%, 0%, 45.9%)
CIE-LABlab(49.31, -16.43, -12.64)
CIE-LCHlch(49.31, 20.73, 217.57°)
OKLaboklab(55.66% -0.0565 -0.0349)
OKLCHoklch(55.66% 0.066 211.7)
XYZxyz(14.1609, 17.8454, 26.7381)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407E8A #8A4C40
analogous
#408A71 #407E8A #40598A
triadic
#407E8A #8A407E #7E8A40
tetradic
#407E8A #71408A #8A4C40 #598A40
square
#407E8A #71408A #8A4C40 #598A40
split-complementary
#407E8A #8A4059 #8A7140
monochromatic
#193236 #2D5860 #407E8A #56A2B1 #80B9C4

Accessibility & contrast

On white

4.60
#407E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#407E8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #407E8A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407E8A#FFFFFF#000000##FFFFFF
##407E8A1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747A8B
Deuteranopia (green-blind)
#69728A
Tritanopia (blue-blind)
#0A8382
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #407e8a;
/* rgb */ color: rgb(64, 126, 138);
/* oklch */ color: oklch(55.7% 0.066 211.7);
Tailwind
colors: {
  custom: {
    50: '#7ba3ac',
    500: '#407e8a',
    950: '#000000',
  },
}
SCSS
$custom: #407e8a;
$custom-light: #7ba3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#407e8a",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 189.73,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55662,
    "c": 0.06641,
    "h": 211.7
  },
  "luminance": 0.17847
}

Semantic roles & 50–950 ramp

primary
#407E8A
secondary
#AF8077
accent
#6E5BCD
background
#F7FAFA
surface
#EEF3F4
border
#C9CDCE
text
#0A0F10
muted
#7C7F7F

Preview Lab

Preview with #407E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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