#405A4C#405A4C

#405A4C is a dark, muted green. Relative luminance 0.089; OKLCH L 44.2% C 0.039 H 160.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#405A4C
RGBrgb(64, 90, 76)
HSLhsl(148, 17%, 30%)
HSVhsv(148, 29%, 35%)
CMYKcmyk(28.9%, 0%, 15.6%, 64.7%)
CIE-LABlab(35.84, -13.11, 4.96)
CIE-LCHlch(35.84, 14.02, 159.26°)
OKLaboklab(44.21% -0.0367 0.0128)
OKLCHoklch(44.21% 0.039 160.7)
XYZxyz(7.0746, 8.9238, 8.1858)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405A4C #5A404E
analogous
#415A40 #405A4C #405A59
triadic
#405A4C #4C405A #5A4C40
tetradic
#405A4C #40415A #5A404E #5A5940
square
#405A4C #40415A #5A404E #5A5940
split-complementary
#405A4C #59405A #5A4041
monochromatic
#0D1210 #27362E #405A4C #597E6A #769E89

Accessibility & contrast

On white

7.54
#405A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#405A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405A4C
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405A4C#FFFFFF#000000##FFFFFF
##405A4C1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59564B
Deuteranopia (green-blind)
#55534D
Tritanopia (blue-blind)
#3B5A56
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405a4c;
/* rgb */ color: rgb(64, 90, 76);
/* oklch */ color: oklch(44.2% 0.039 160.7);
Tailwind
colors: {
  custom: {
    50: '#75887e',
    500: '#405a4c',
    950: '#000000',
  },
}
SCSS
$custom: #405a4c;
$custom-light: #75887e;
$custom-dark: #000000;
JSON
{
  "hex": "#405a4c",
  "rgb": {
    "r": 64,
    "g": 90,
    "b": 76
  },
  "hsl": {
    "h": 147.692,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.44211,
    "c": 0.0389,
    "h": 160.7
  },
  "luminance": 0.08924
}

Semantic roles & 50–950 ramp

primary
#405A4C
secondary
#896C7C
accent
#6E97BA
background
#F7F8F7
surface
#EDF0EE
border
#C8CBC9
text
#080B09
muted
#7B7C7B

Preview Lab

Preview with #405A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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