#404846#404846

#404846 is a dark, near-neutral grey. Relative luminance 0.062; OKLCH L 39.4% C 0.011 H 179.1°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#404846
RGBrgb(64, 72, 70)
HSLhsl(165, 6%, 27%)
HSVhsv(165, 11%, 28%)
CMYKcmyk(11.1%, 0%, 2.8%, 71.8%)
CIE-LABlab(29.83, -3.71, 0.09)
CIE-LCHlch(29.83, 3.71, 178.62°)
OKLaboklab(39.37% -0.0109 0.0002)
OKLCHoklch(39.37% 0.011 179.1)
XYZxyz(5.5370, 6.1668, 6.6918)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404846 #484042
analogous
#404842 #404846 #404648
triadic
#404846 #464048 #484640
tetradic
#404846 #424048 #484042 #464840
square
#404846 #424048 #484042 #464840
split-complementary
#404846 #484046 #484240
monochromatic
#0E1010 #232827 #404846 #5D6866 #7A8985

Accessibility & contrast

On white

9.40
#404846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#404846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404846
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404846#FFFFFF#000000##FFFFFF
##4048461.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474746
Deuteranopia (green-blind)
#464646
Tritanopia (blue-blind)
#3E4847
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404846;
/* rgb */ color: rgb(64, 72, 70);
/* oklch */ color: oklch(39.4% 0.011 179.1);
Tailwind
colors: {
  custom: {
    50: '#747b79',
    500: '#404846',
    950: '#000000',
  },
}
SCSS
$custom: #404846;
$custom-light: #747b79;
$custom-dark: #000000;
JSON
{
  "hex": "#404846",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 70
  },
  "hsl": {
    "h": 165,
    "s": 5.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39369,
    "c": 0.01095,
    "h": 179.1
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#404846
secondary
#776D70
accent
#7986AF
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080909
muted
#7B7B7B

Preview Lab

Preview with #404846

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

Preview Lab → · Contrast checker → · Palette generator →

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