#407F8A#407F8A

#407F8A is a mid, moderate teal. Relative luminance 0.181; OKLCH L 55.9% C 0.067 H 210.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#407F8A
RGBrgb(64, 127, 138)
HSLhsl(189, 37%, 40%)
HSVhsv(189, 54%, 54%)
CMYKcmyk(53.6%, 8%, 0%, 45.9%)
CIE-LABlab(49.62, -16.98, -12.17)
CIE-LCHlch(49.62, 20.89, 215.63°)
OKLaboklab(55.91% -0.0577 -0.0336)
OKLCHoklch(55.91% 0.067 210.2)
XYZxyz(14.2894, 18.1024, 26.7809)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407F8A #8A4B40
analogous
#408A70 #407F8A #405A8A
triadic
#407F8A #8A407F #7F8A40
tetradic
#407F8A #70408A #8A4B40 #5A8A40
square
#407F8A #70408A #8A4B40 #5A8A40
split-complementary
#407F8A #8A405A #8A7040
monochromatic
#193236 #2D5960 #407F8A #56A3B1 #80BAC4

Accessibility & contrast

On white

4.54
#407F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#407F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407F8A
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407F8A#FFFFFF#000000##000000
##407F8A1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#757B8B
Deuteranopia (green-blind)
#6A728A
Tritanopia (blue-blind)
#098482
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #407f8a;
/* rgb */ color: rgb(64, 127, 138);
/* oklch */ color: oklch(55.9% 0.067 210.2);
Tailwind
colors: {
  custom: {
    50: '#7ba4ac',
    500: '#407f8a',
    950: '#000000',
  },
}
SCSS
$custom: #407f8a;
$custom-light: #7ba4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#407f8a",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 188.919,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55912,
    "c": 0.06676,
    "h": 210.2
  },
  "luminance": 0.18104
}

Semantic roles & 50–950 ramp

primary
#407F8A
secondary
#AF7F77
accent
#6C5BCD
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A0F10
muted
#7C7F7F

Preview Lab

Preview with #407F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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