#404646#404646

#404646 is a dark, near-neutral grey. Relative luminance 0.059; OKLCH L 38.9% C 0.008 H 196.8°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#404646
RGBrgb(64, 70, 70)
HSLhsl(180, 4%, 26%)
HSVhsv(180, 9%, 27%)
CMYKcmyk(8.6%, 0%, 0%, 72.5%)
CIE-LABlab(29.19, -2.45, -0.85)
CIE-LCHlch(29.19, 2.60, 199.00°)
OKLaboklab(38.86% -0.0076 -0.0023)
OKLCHoklch(38.86% 0.008 196.8)
XYZxyz(5.4098, 5.9124, 6.6494)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404646 #464040
analogous
#404643 #404646 #404346
triadic
#404646 #464046 #464640
tetradic
#404646 #434046 #464040 #434640
square
#404646 #434046 #464040 #434640
split-complementary
#404646 #464043 #464340
monochromatic
#0F1010 #232626 #404646 #5D6666 #7B8686

Accessibility & contrast

On white

9.62
#404646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#404646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404646
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404646#FFFFFF#000000##FFFFFF
##4046461.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454546
Deuteranopia (green-blind)
#444446
Tritanopia (blue-blind)
#3E4646
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #404646;
/* rgb */ color: rgb(64, 70, 70);
/* oklch */ color: oklch(38.9% 0.008 196.8);
Tailwind
colors: {
  custom: {
    50: '#747979',
    500: '#404646',
    950: '#000000',
  },
}
SCSS
$custom: #404646;
$custom-light: #747979;
$custom-dark: #000000;
JSON
{
  "hex": "#404646",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 70
  },
  "hsl": {
    "h": 180,
    "s": 4.478,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38864,
    "c": 0.00791,
    "h": 196.8
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#404646
secondary
#746D6D
accent
#7A7AAE
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080909
muted
#7B7B7B

Preview Lab

Preview with #404646

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

Preview Lab → · Contrast checker → · Palette generator →

#404646 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva