#405A52#405A52

#405A52 is a dark, muted teal. Relative luminance 0.090; OKLCH L 44.4% C 0.034 H 173.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#405A52
RGBrgb(64, 90, 82)
HSLhsl(162, 17%, 30%)
HSVhsv(162, 29%, 35%)
CMYKcmyk(28.9%, 0%, 8.9%, 64.7%)
CIE-LABlab(36.01, -11.70, 1.47)
CIE-LCHlch(36.01, 11.79, 172.82°)
OKLaboklab(44.4% -0.0338 0.0037)
OKLCHoklch(44.4% 0.034 173.7)
XYZxyz(7.2930, 9.0112, 9.3361)
Luminance0.0901 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405A52 #5A4048
analogous
#405A45 #405A52 #40555A
triadic
#405A52 #52405A #5A5240
tetradic
#405A52 #45405A #5A4048 #555A40
square
#405A52 #45405A #5A4048 #555A40
split-complementary
#405A52 #5A4055 #5A4540
monochromatic
#0D1211 #273631 #405A52 #597E73 #769E92

Accessibility & contrast

On white

7.49
#405A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#405A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405A52
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405A52#FFFFFF#000000##FFFFFF
##405A521.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585752
Deuteranopia (green-blind)
#545353
Tritanopia (blue-blind)
#395B58
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405a52;
/* rgb */ color: rgb(64, 90, 82);
/* oklch */ color: oklch(44.4% 0.034 173.7);
Tailwind
colors: {
  custom: {
    50: '#758882',
    500: '#405a52',
    950: '#000000',
  },
}
SCSS
$custom: #405a52;
$custom-light: #758882;
$custom-dark: #000000;
JSON
{
  "hex": "#405a52",
  "rgb": {
    "r": 64,
    "g": 90,
    "b": 82
  },
  "hsl": {
    "h": 161.538,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.44402,
    "c": 0.03396,
    "h": 173.7
  },
  "luminance": 0.09012
}

Semantic roles & 50–950 ramp

primary
#405A52
secondary
#896C75
accent
#6E85BA
background
#F7F8F7
surface
#EDF0EE
border
#C8CBC9
text
#080B0A
muted
#7B7C7C

Preview Lab

Preview with #405A52

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

Preview Lab → · Contrast checker → · Palette generator →

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