#405A54#405A54

#405A54 is a dark, muted teal. Relative luminance 0.090; OKLCH L 44.5% C 0.033 H 178.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#405A54
RGBrgb(64, 90, 84)
HSLhsl(166, 17%, 30%)
HSVhsv(166, 29%, 35%)
CMYKcmyk(28.9%, 0%, 6.7%, 64.7%)
CIE-LABlab(36.07, -11.20, 0.31)
CIE-LCHlch(36.07, 11.21, 178.40°)
OKLaboklab(44.47% -0.0328 0.0007)
OKLCHoklch(44.47% 0.033 178.8)
XYZxyz(7.3702, 9.0421, 9.7427)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405A54 #5A4046
analogous
#405A47 #405A54 #40535A
triadic
#405A54 #54405A #5A5440
tetradic
#405A54 #47405A #5A4046 #535A40
square
#405A54 #47405A #5A4046 #535A40
split-complementary
#405A54 #5A4053 #5A4740
monochromatic
#0D1211 #273633 #405A54 #597E75 #769E95

Accessibility & contrast

On white

7.48
#405A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#405A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405A54
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405A54#FFFFFF#000000##FFFFFF
##405A541.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #405a54;
/* rgb */ color: rgb(64, 90, 84);
/* oklch */ color: oklch(44.5% 0.033 178.8);
Tailwind
colors: {
  custom: {
    50: '#758884',
    500: '#405a54',
    950: '#000000',
  },
}
SCSS
$custom: #405a54;
$custom-light: #758884;
$custom-dark: #000000;
JSON
{
  "hex": "#405a54",
  "rgb": {
    "r": 64,
    "g": 90,
    "b": 84
  },
  "hsl": {
    "h": 166.154,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.44469,
    "c": 0.0328,
    "h": 178.8
  },
  "luminance": 0.09042
}

Semantic roles & 50–950 ramp

primary
#405A54
secondary
#896C73
accent
#6E80BA
background
#F7F8F8
surface
#EDF0EF
border
#C8CBCA
text
#080B0A
muted
#7B7C7C

Preview Lab

Preview with #405A54

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

Preview Lab → · Contrast checker → · Palette generator →

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