#405C4F#405C4F

#405C4F is a dark, muted teal. Relative luminance 0.093; OKLCH L 44.8% C 0.040 H 164.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#405C4F
RGBrgb(64, 92, 79)
HSLhsl(152, 18%, 31%)
HSVhsv(152, 30%, 36%)
CMYKcmyk(30.4%, 0%, 14.1%, 63.9%)
CIE-LABlab(36.57, -13.56, 4.15)
CIE-LCHlch(36.57, 14.18, 162.97°)
OKLaboklab(44.83% -0.0382 0.0107)
OKLCHoklch(44.83% 0.04 164.3)
XYZxyz(7.3523, 9.3085, 8.8049)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405C4F #5C404D
analogous
#405C41 #405C4F #405B5C
triadic
#405C4F #4F405C #5C4F40
tetradic
#405C4F #41405C #5C404D #5B5C40
square
#405C4F #41405C #5C404D #5B5C40
split-complementary
#405C4F #5C405B #5C4140
monochromatic
#0E1411 #273830 #405C4F #59806E #76A08D

Accessibility & contrast

On white

7.34
#405C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#405C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405C4F
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405C4F#FFFFFF#000000##FFFFFF
##405C4F1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B584E
Deuteranopia (green-blind)
#565550
Tritanopia (blue-blind)
#3A5C58
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405c4f;
/* rgb */ color: rgb(64, 92, 79);
/* oklch */ color: oklch(44.8% 0.040 164.3);
Tailwind
colors: {
  custom: {
    50: '#758a80',
    500: '#405c4f',
    950: '#000000',
  },
}
SCSS
$custom: #405c4f;
$custom-light: #758a80;
$custom-dark: #000000;
JSON
{
  "hex": "#405c4f",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 79
  },
  "hsl": {
    "h": 152.143,
    "s": 17.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.44827,
    "c": 0.03971,
    "h": 164.3
  },
  "luminance": 0.09309
}

Semantic roles & 50–950 ramp

primary
#405C4F
secondary
#8B6C7B
accent
#6D91BB
background
#F7F8F7
surface
#EDF0EE
border
#C8CBC9
text
#080B0A
muted
#7B7C7C

Preview Lab

Preview with #405C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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