#403D45#403D45

#403D45 is a dark, near-neutral grey. Relative luminance 0.049; OKLCH L 36.6% C 0.014 H 302.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#403D45
RGBrgb(64, 61, 69)
HSLhsl(263, 6%, 25%)
HSVhsv(263, 12%, 27%)
CMYKcmyk(7.2%, 11.6%, 0%, 72.9%)
CIE-LABlab(26.32, 3.12, -4.43)
CIE-LCHlch(26.32, 5.41, 305.13°)
OKLaboklab(36.6% 0.0076 -0.0119)
OKLCHoklch(36.6% 0.014 302.7)
XYZxyz(4.8571, 4.8571, 6.3107)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D45 #42453D
analogous
#3D3E45 #403D45 #443D45
triadic
#403D45 #45403D #3D4540
tetradic
#403D45 #453D3E #42453D #3D4544
square
#403D45 #453D3E #42453D #3D4544
split-complementary
#403D45 #45443D #3E453D
monochromatic
#0F0E10 #222025 #403D45 #5E5A65 #7C7686

Accessibility & contrast

On white

10.65
#403D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#403D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D45
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D45#FFFFFF#000000##FFFFFF
##403D451.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3E45
Deuteranopia (green-blind)
#3C3E45
Tritanopia (blue-blind)
#3F3E40
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #403d45;
/* rgb */ color: rgb(64, 61, 69);
/* oklch */ color: oklch(36.6% 0.014 302.7);
Tailwind
colors: {
  custom: {
    50: '#747278',
    500: '#403d45',
    950: '#000000',
  },
}
SCSS
$custom: #403d45;
$custom-light: #747278;
$custom-dark: #000000;
JSON
{
  "hex": "#403d45",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 69
  },
  "hsl": {
    "h": 262.5,
    "s": 6.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36603,
    "c": 0.01411,
    "h": 302.7
  },
  "luminance": 0.04857
}

Semantic roles & 50–950 ramp

primary
#403D45
secondary
#70746A
accent
#AF799B
background
#F7F6F7
surface
#EDECED
border
#C8C7C8
text
#080809
muted
#7B7B7B

Preview Lab

Preview with #403D45

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

Preview Lab → · Contrast checker → · Palette generator →

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