#405A5C#405A5C

#405A5C is a dark, muted teal. Relative luminance 0.092; OKLCH L 44.8% C 0.031 H 202.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#405A5C
RGBrgb(64, 90, 92)
HSLhsl(184, 18%, 31%)
HSVhsv(184, 30%, 36%)
CMYKcmyk(30.4%, 2.2%, 0%, 63.9%)
CIE-LABlab(36.32, -9.15, -4.30)
CIE-LCHlch(36.32, 10.11, 205.19°)
OKLaboklab(44.76% -0.029 -0.0117)
OKLCHoklch(44.76% 0.031 202.1)
XYZxyz(7.7017, 9.1746, 11.4882)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405A5C #5C4240
analogous
#405C50 #405A5C #404C5C
triadic
#405A5C #5C405A #5A5C40
tetradic
#405A5C #50405C #5C4240 #4C5C40
square
#405A5C #50405C #5C4240 #4C5C40
split-complementary
#405A5C #5C404C #5C5040
monochromatic
#0E1314 #273738 #405A5C #597D80 #769DA0

Accessibility & contrast

On white

7.41
#405A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#405A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405A5C
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405A5C#FFFFFF#000000##FFFFFF
##405A5C1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56585C
Deuteranopia (green-blind)
#51545C
Tritanopia (blue-blind)
#365C5B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405a5c;
/* rgb */ color: rgb(64, 90, 92);
/* oklch */ color: oklch(44.8% 0.031 202.1);
Tailwind
colors: {
  custom: {
    50: '#76888a',
    500: '#405a5c',
    950: '#000000',
  },
}
SCSS
$custom: #405a5c;
$custom-light: #76888a;
$custom-dark: #000000;
JSON
{
  "hex": "#405a5c",
  "rgb": {
    "r": 64,
    "g": 90,
    "b": 92
  },
  "hsl": {
    "h": 184.286,
    "s": 17.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.44755,
    "c": 0.03129,
    "h": 202.1
  },
  "luminance": 0.09175
}

Semantic roles & 50–950 ramp

primary
#405A5C
secondary
#8B6F6C
accent
#736DBB
background
#F7F8F8
surface
#EDEFF0
border
#C8CACB
text
#080B0B
muted
#7B7C7C

Preview Lab

Preview with #405A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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