#405E5A#405E5A

#405E5A is a mid, muted teal. Relative luminance 0.098; OKLCH L 45.7% C 0.036 H 185.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#405E5A
RGBrgb(64, 94, 90)
HSLhsl(172, 19%, 31%)
HSVhsv(172, 32%, 37%)
CMYKcmyk(31.9%, 0%, 4.3%, 63.1%)
CIE-LABlab(37.54, -12.01, -1.25)
CIE-LCHlch(37.54, 12.07, 185.97°)
OKLaboklab(45.71% -0.0358 -0.0035)
OKLCHoklch(45.71% 0.036 185.7)
XYZxyz(7.9619, 9.8332, 11.1493)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E5A #5E4044
analogous
#405E4B #405E5A #40535E
triadic
#405E5A #5A405E #5E5A40
tetradic
#405E5A #4B405E #5E4044 #535E40
square
#405E5A #4B405E #5E4044 #535E40
split-complementary
#405E5A #5E4053 #5E4B40
monochromatic
#0E1514 #273A37 #405E5A #59827D #76A29C

Accessibility & contrast

On white

7.08
#405E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#405E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405E5A
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E5A#FFFFFF#000000##FFFFFF
##405E5A1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5B5A
Deuteranopia (green-blind)
#55575A
Tritanopia (blue-blind)
#365F5D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #405e5a;
/* rgb */ color: rgb(64, 94, 90);
/* oklch */ color: oklch(45.7% 0.036 185.7);
Tailwind
colors: {
  custom: {
    50: '#768b88',
    500: '#405e5a',
    950: '#000000',
  },
}
SCSS
$custom: #405e5a;
$custom-light: #768b88;
$custom-dark: #000000;
JSON
{
  "hex": "#405e5a",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 90
  },
  "hsl": {
    "h": 172,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.45709,
    "c": 0.036,
    "h": 185.7
  },
  "luminance": 0.09834
}

Semantic roles & 50–950 ramp

primary
#405E5A
secondary
#8D6C71
accent
#6C77BC
background
#F7F8F8
surface
#EDF0EF
border
#C8CBCA
text
#080C0B
muted
#7B7D7C

Preview Lab

Preview with #405E5A

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

Preview Lab → · Contrast checker → · Palette generator →

#405E5A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva