#403B3E#403B3E

#403B3E is a dark, near-neutral grey. Relative luminance 0.046; OKLCH L 35.8% C 0.009 H 340.8°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#403B3E
RGBrgb(64, 59, 62)
HSLhsl(324, 4%, 24%)
HSVhsv(324, 8%, 25%)
CMYKcmyk(0%, 7.8%, 3.1%, 74.9%)
CIE-LABlab(25.46, 2.81, -1.07)
CIE-LCHlch(25.46, 3.01, 339.14°)
OKLaboklab(35.85% 0.0081 -0.0028)
OKLCHoklch(35.85% 0.009 340.8)
XYZxyz(4.5477, 4.5658, 5.1982)
Luminance0.0457 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B3E #3B403D
analogous
#403B40 #403B3E #403B3C
triadic
#403B3E #3E403B #3B3E40
tetradic
#403B3E #40403B #3B403D #3B3C40
square
#403B3E #40403B #3B403D #3B3C40
split-complementary
#403B3E #3C403B #3B4040
monochromatic
#100F0F #201E1F #403B3E #60585D #80767C

Accessibility & contrast

On white

10.98
#403B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#403B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B3E
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B3E#FFFFFF#000000##FFFFFF
##403B3E1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3C3E
Deuteranopia (green-blind)
#3C3D3E
Tritanopia (blue-blind)
#413B3C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403b3e;
/* rgb */ color: rgb(64, 59, 62);
/* oklch */ color: oklch(35.8% 0.009 340.8);
Tailwind
colors: {
  custom: {
    50: '#747073',
    500: '#403b3e',
    950: '#000000',
  },
}
SCSS
$custom: #403b3e;
$custom-light: #747073;
$custom-dark: #000000;
JSON
{
  "hex": "#403b3e",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 62
  },
  "hsl": {
    "h": 324,
    "s": 4.065,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35848,
    "c": 0.00853,
    "h": 340.8
  },
  "luminance": 0.04566
}

Semantic roles & 50–950 ramp

primary
#403B3E
secondary
#686E6B
accent
#AD8F7B
background
#F7F6F6
surface
#EDECEC
border
#C8C7C7
text
#080708
muted
#7B7A7B

Preview Lab

Preview with #403B3E

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

Preview Lab → · Contrast checker → · Palette generator →

#403B3E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva