#403A40#403A40

#403A40 is a dark, near-neutral grey. Relative luminance 0.045; OKLCH L 35.7% C 0.013 H 325.8°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#403A40
RGBrgb(64, 58, 64)
HSLhsl(300, 5%, 24%)
HSVhsv(300, 9%, 25%)
CMYKcmyk(0%, 9.4%, 0%, 74.9%)
CIE-LABlab(25.22, 3.92, -2.76)
CIE-LCHlch(25.22, 4.79, 324.89°)
OKLaboklab(35.68% 0.0108 -0.0073)
OKLCHoklch(35.68% 0.013 325.8)
XYZxyz(4.5527, 4.4863, 5.4756)
Luminance0.0449 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A40 #3A403A
analogous
#3D3A40 #403A40 #403A3D
triadic
#403A40 #40403A #3A4040
tetradic
#403A40 #403D3A #3A403A #3A3D40
square
#403A40 #403D3A #3A403A #3A3D40
split-complementary
#403A40 #3D403A #3A403D
monochromatic
#100F10 #201D20 #403A40 #605760 #807480

Accessibility & contrast

On white

11.07
#403A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#403A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A40
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A40#FFFFFF#000000##FFFFFF
##403A401.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3B40
Deuteranopia (green-blind)
#3B3C40
Tritanopia (blue-blind)
#403A3C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403a40;
/* rgb */ color: rgb(64, 58, 64);
/* oklch */ color: oklch(35.7% 0.013 325.8);
Tailwind
colors: {
  custom: {
    50: '#747074',
    500: '#403a40',
    950: '#000000',
  },
}
SCSS
$custom: #403a40;
$custom-light: #747074;
$custom-dark: #000000;
JSON
{
  "hex": "#403a40",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 64
  },
  "hsl": {
    "h": 300,
    "s": 4.918,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35681,
    "c": 0.01303,
    "h": 325.8
  },
  "luminance": 0.04486
}

Semantic roles & 50–950 ramp

primary
#403A40
secondary
#676F67
accent
#AE7A7A
background
#F7F6F7
surface
#EDECED
border
#C8C7C8
text
#080708
muted
#7B7A7B

Preview Lab

Preview with #403A40

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

Preview Lab → · Contrast checker → · Palette generator →

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