#404246#404246

#404246 is a dark, near-neutral grey. Relative luminance 0.054; OKLCH L 37.9% C 0.007 H 264.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#404246
RGBrgb(64, 66, 70)
HSLhsl(220, 4%, 26%)
HSVhsv(220, 9%, 27%)
CMYKcmyk(8.6%, 5.7%, 0%, 72.5%)
CIE-LABlab(27.92, 0.10, -2.71)
CIE-LCHlch(27.92, 2.71, 272.09°)
OKLaboklab(37.87% -0.0007 -0.0073)
OKLCHoklch(37.87% 0.007 264.5)
XYZxyz(5.1678, 5.4286, 6.5687)
Luminance0.0543 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404246 #464440
analogous
#404546 #404246 #414046
triadic
#404246 #464042 #424640
tetradic
#404246 #464045 #464440 #404641
square
#404246 #464045 #464440 #404641
split-complementary
#404246 #464140 #454640
monochromatic
#0F0F10 #232426 #404246 #5D6066 #7B7E86

Accessibility & contrast

On white

10.07
#404246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#404246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404246
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404246#FFFFFF#000000##FFFFFF
##4042461.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414246
Deuteranopia (green-blind)
#404246
Tritanopia (blue-blind)
#3F4343
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #404246;
/* rgb */ color: rgb(64, 66, 70);
/* oklch */ color: oklch(37.9% 0.007 264.5);
Tailwind
colors: {
  custom: {
    50: '#747679',
    500: '#404246',
    950: '#000000',
  },
}
SCSS
$custom: #404246;
$custom-light: #747679;
$custom-dark: #000000;
JSON
{
  "hex": "#404246",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 70
  },
  "hsl": {
    "h": 220,
    "s": 4.478,
    "l": 26.275
  },
  "oklch": {
    "l": 0.37866,
    "c": 0.00729,
    "h": 264.5
  },
  "luminance": 0.05429
}

Semantic roles & 50–950 ramp

primary
#404246
secondary
#74726D
accent
#9C7AAE
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080809
muted
#7B7B7B

Preview Lab

Preview with #404246

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

Preview Lab → · Contrast checker → · Palette generator →

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