#404348#404348

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

Color values

HEX#404348
RGBrgb(64, 67, 72)
HSLhsl(218, 6%, 27%)
HSVhsv(218, 11%, 28%)
CMYKcmyk(11.1%, 6.9%, 0%, 71.8%)
CIE-LABlab(28.31, -0.06, -3.45)
CIE-LCHlch(28.31, 3.45, 268.98°)
OKLaboklab(38.19% -0.0015 -0.0093)
OKLCHoklch(38.19% 0.009 260.7)
XYZxyz(5.2910, 5.5721, 6.9264)
Luminance0.0557 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404348 #484540
analogous
#404748 #404348 #414048
triadic
#404348 #484043 #434840
tetradic
#404348 #484047 #484540 #404841
square
#404348 #484047 #484540 #404841
split-complementary
#404348 #484140 #474840
monochromatic
#0E0F10 #232528 #404348 #5D6168 #7A7F89

Accessibility & contrast

On white

9.93
#404348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404348
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404348#FFFFFF#000000##FFFFFF
##4043481.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414348
Deuteranopia (green-blind)
#414248
Tritanopia (blue-blind)
#3E4445
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #404348;
/* rgb */ color: rgb(64, 67, 72);
/* oklch */ color: oklch(38.2% 0.009 260.7);
Tailwind
colors: {
  custom: {
    50: '#74777a',
    500: '#404348',
    950: '#000000',
  },
}
SCSS
$custom: #404348;
$custom-light: #74777a;
$custom-dark: #000000;
JSON
{
  "hex": "#404348",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 72
  },
  "hsl": {
    "h": 217.5,
    "s": 5.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3819,
    "c": 0.00938,
    "h": 260.7
  },
  "luminance": 0.05572
}

Semantic roles & 50–950 ramp

primary
#404348
secondary
#77736D
accent
#9B79AF
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080809
muted
#7B7B7B

Preview Lab

Preview with #404348

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

Preview Lab → · Contrast checker → · Palette generator →

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