#405A5A#405A5A

#405A5A is a dark, muted teal. Relative luminance 0.091; OKLCH L 44.7% C 0.031 H 196.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#405A5A
RGBrgb(64, 90, 90)
HSLhsl(180, 17%, 30%)
HSVhsv(180, 29%, 35%)
CMYKcmyk(28.9%, 0%, 0%, 64.7%)
CIE-LABlab(36.25, -9.67, -3.15)
CIE-LCHlch(36.25, 10.17, 198.05°)
OKLaboklab(44.68% -0.0299 -0.0086)
OKLCHoklch(44.68% 0.031 196.1)
XYZxyz(7.6154, 9.1401, 11.0338)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405A5A #5A4040
analogous
#405A4D #405A5A #404D5A
triadic
#405A5A #5A405A #5A5A40
tetradic
#405A5A #4D405A #5A4040 #4D5A40
square
#405A5A #4D405A #5A4040 #4D5A40
split-complementary
#405A5A #5A404D #5A4D40
monochromatic
#0D1212 #273636 #405A5A #597E7E #769E9E

Accessibility & contrast

On white

7.43
#405A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405A5A
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405A5A#FFFFFF#000000##FFFFFF
##405A5A1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57575A
Deuteranopia (green-blind)
#52545A
Tritanopia (blue-blind)
#375C5A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405a5a;
/* rgb */ color: rgb(64, 90, 90);
/* oklch */ color: oklch(44.7% 0.031 196.1);
Tailwind
colors: {
  custom: {
    50: '#768888',
    500: '#405a5a',
    950: '#000000',
  },
}
SCSS
$custom: #405a5a;
$custom-light: #768888;
$custom-dark: #000000;
JSON
{
  "hex": "#405a5a",
  "rgb": {
    "r": 64,
    "g": 90,
    "b": 90
  },
  "hsl": {
    "h": 180,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.44681,
    "c": 0.03115,
    "h": 196.1
  },
  "luminance": 0.09141
}

Semantic roles & 50–950 ramp

primary
#405A5A
secondary
#896C6C
accent
#6E6EBA
background
#F7F8F8
surface
#EDEFEF
border
#C8CACA
text
#080B0B
muted
#7B7C7C

Preview Lab

Preview with #405A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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