#403D46#403D46

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

Color values

HEX#403D46
RGBrgb(64, 61, 70)
HSLhsl(260, 7%, 26%)
HSVhsv(260, 13%, 27%)
CMYKcmyk(8.6%, 12.9%, 0%, 72.5%)
CIE-LABlab(26.36, 3.36, -5.03)
CIE-LCHlch(26.36, 6.05, 303.69°)
OKLaboklab(36.64% 0.0081 -0.0135)
OKLCHoklch(36.64% 0.016 300.8)
XYZxyz(4.8884, 4.8697, 6.4756)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D46 #43463D
analogous
#3D3E46 #403D46 #443D46
triadic
#403D46 #46403D #3D4640
tetradic
#403D46 #463D3E #43463D #3D4644
square
#403D46 #463D3E #43463D #3D4644
split-complementary
#403D46 #46443D #3E463D
monochromatic
#0F0E10 #222125 #403D46 #5E5967 #7C7687

Accessibility & contrast

On white

10.64
#403D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403D46
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D46#FFFFFF#000000##FFFFFF
##403D461.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403d46;
/* rgb */ color: rgb(64, 61, 70);
/* oklch */ color: oklch(36.6% 0.016 300.8);
Tailwind
colors: {
  custom: {
    50: '#747279',
    500: '#403d46',
    950: '#000000',
  },
}
SCSS
$custom: #403d46;
$custom-light: #747279;
$custom-dark: #000000;
JSON
{
  "hex": "#403d46",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 70
  },
  "hsl": {
    "h": 260,
    "s": 6.87,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36643,
    "c": 0.01574,
    "h": 300.8
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#403D46
secondary
#71756A
accent
#B0789D
background
#F7F6F7
surface
#EDECED
border
#C8C7C8
text
#080809
muted
#7B7B7B

Preview Lab

Preview with #403D46

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

Preview Lab → · Contrast checker → · Palette generator →

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