#405C54#405C54

#405C54 is a dark, muted teal. Relative luminance 0.094; OKLCH L 45.0% C 0.036 H 175.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#405C54
RGBrgb(64, 92, 84)
HSLhsl(163, 18%, 31%)
HSVhsv(163, 30%, 36%)
CMYKcmyk(30.4%, 0%, 8.7%, 63.9%)
CIE-LABlab(36.71, -12.36, 1.26)
CIE-LCHlch(36.71, 12.43, 174.20°)
OKLaboklab(44.99% -0.0358 0.0031)
OKLCHoklch(44.99% 0.036 175)
XYZxyz(7.5412, 9.3840, 9.7997)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405C54 #5C4048
analogous
#405C46 #405C54 #40565C
triadic
#405C54 #54405C #5C5440
tetradic
#405C54 #46405C #5C4048 #565C40
square
#405C54 #46405C #5C4048 #565C40
split-complementary
#405C54 #5C4056 #5C4640
monochromatic
#0E1412 #273833 #405C54 #598075 #76A094

Accessibility & contrast

On white

7.30
#405C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#405C54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405C54
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405C54#FFFFFF#000000##FFFFFF
##405C541.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5954
Deuteranopia (green-blind)
#555555
Tritanopia (blue-blind)
#395D5A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405c54;
/* rgb */ color: rgb(64, 92, 84);
/* oklch */ color: oklch(45.0% 0.036 175.0);
Tailwind
colors: {
  custom: {
    50: '#758a84',
    500: '#405c54',
    950: '#000000',
  },
}
SCSS
$custom: #405c54;
$custom-light: #758a84;
$custom-dark: #000000;
JSON
{
  "hex": "#405c54",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 84
  },
  "hsl": {
    "h": 162.857,
    "s": 17.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.44987,
    "c": 0.03591,
    "h": 175
  },
  "luminance": 0.09384
}

Semantic roles & 50–950 ramp

primary
#405C54
secondary
#8B6C75
accent
#6D83BB
background
#F7F8F8
surface
#EDF0EF
border
#C8CBCA
text
#080B0A
muted
#7B7C7C

Preview Lab

Preview with #405C54

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

Preview Lab → · Contrast checker → · Palette generator →

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