#405B4B#405B4B

#405B4B is a dark, muted green. Relative luminance 0.091; OKLCH L 44.4% C 0.042 H 158.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#405B4B
RGBrgb(64, 91, 75)
HSLhsl(144, 17%, 30%)
HSVhsv(144, 30%, 36%)
CMYKcmyk(29.7%, 0%, 17.6%, 64.3%)
CIE-LABlab(36.14, -13.91, 6.01)
CIE-LCHlch(36.14, 15.15, 156.62°)
OKLaboklab(44.44% -0.0387 0.0155)
OKLCHoklch(44.44% 0.042 158.2)
XYZxyz(7.1250, 9.0799, 8.0324)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405B4B #5B4050
analogous
#435B40 #405B4B #405B58
triadic
#405B4B #4B405B #5B4B40
tetradic
#405B4B #40435B #5B4050 #5B5840
square
#405B4B #40435B #5B4050 #5B5840
split-complementary
#405B4B #58405B #5B4043
monochromatic
#0D1310 #27372D #405B4B #597F69 #769F87

Accessibility & contrast

On white

7.46
#405B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#405B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405B4B
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405B4B#FFFFFF#000000##FFFFFF
##405B4B1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B574A
Deuteranopia (green-blind)
#56544C
Tritanopia (blue-blind)
#3B5B56
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405b4b;
/* rgb */ color: rgb(64, 91, 75);
/* oklch */ color: oklch(44.4% 0.042 158.2);
Tailwind
colors: {
  custom: {
    50: '#75897d',
    500: '#405b4b',
    950: '#000000',
  },
}
SCSS
$custom: #405b4b;
$custom-light: #75897d;
$custom-dark: #000000;
JSON
{
  "hex": "#405b4b",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 75
  },
  "hsl": {
    "h": 144.444,
    "s": 17.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.44443,
    "c": 0.04172,
    "h": 158.2
  },
  "luminance": 0.0908
}

Semantic roles & 50–950 ramp

primary
#405B4B
secondary
#8A6C7E
accent
#6E9BBA
background
#F7F8F7
surface
#EDF0EE
border
#C8CBC9
text
#080B09
muted
#7B7C7B

Preview Lab

Preview with #405B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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