#404347#404347

#404347 is a dark, near-neutral grey. Relative luminance 0.056; OKLCH L 38.2% C 0.008 H 255.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#404347
RGBrgb(64, 67, 71)
HSLhsl(214, 5%, 26%)
HSVhsv(214, 10%, 28%)
CMYKcmyk(9.9%, 5.6%, 0%, 72.2%)
CIE-LABlab(28.27, -0.30, -2.85)
CIE-LCHlch(28.27, 2.86, 263.90°)
OKLaboklab(38.15% -0.002 -0.0076)
OKLCHoklch(38.15% 0.008 255.5)
XYZxyz(5.2586, 5.5592, 6.7560)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404347 #474440
analogous
#404747 #404347 #414047
triadic
#404347 #474043 #434740
tetradic
#404347 #474047 #474440 #404741
square
#404347 #474047 #474440 #404741
split-complementary
#404347 #474140 #474740
monochromatic
#0F0F10 #232527 #404347 #5D6167 #7A8087

Accessibility & contrast

On white

9.94
#404347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#404347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404347
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404347#FFFFFF#000000##FFFFFF
##4043471.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424347
Deuteranopia (green-blind)
#414247
Tritanopia (blue-blind)
#3E4444
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #404347;
/* rgb */ color: rgb(64, 67, 71);
/* oklch */ color: oklch(38.2% 0.008 255.5);
Tailwind
colors: {
  custom: {
    50: '#74777a',
    500: '#404347',
    950: '#000000',
  },
}
SCSS
$custom: #404347;
$custom-light: #74777a;
$custom-dark: #000000;
JSON
{
  "hex": "#404347",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 71
  },
  "hsl": {
    "h": 214.286,
    "s": 5.185,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38152,
    "c": 0.00789,
    "h": 255.5
  },
  "luminance": 0.05559
}

Semantic roles & 50–950 ramp

primary
#404347
secondary
#76726D
accent
#9879AE
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080809
muted
#7B7B7B

Preview Lab

Preview with #404347

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

Preview Lab → · Contrast checker → · Palette generator →

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