#3A343A#3A343A

#3A343A is a dark, near-neutral grey. Relative luminance 0.037; OKLCH L 33.4% C 0.013 H 325.9°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#3A343A
RGBrgb(58, 52, 58)
HSLhsl(300, 5%, 22%)
HSVhsv(300, 10%, 23%)
CMYKcmyk(0%, 10.3%, 0%, 77.3%)
CIE-LABlab(22.52, 3.99, -2.80)
CIE-LCHlch(22.52, 4.87, 324.92°)
OKLaboklab(33.36% 0.011 -0.0074)
OKLCHoklch(33.36% 0.013 325.9)
XYZxyz(3.7365, 3.6611, 4.5120)
Luminance0.0366 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A343A #343A34
analogous
#37343A #3A343A #3A3437
triadic
#3A343A #3A3A34 #343A3A
tetradic
#3A343A #3A3734 #343A34 #34373A
square
#3A343A #3A3734 #343A34 #34373A
split-complementary
#3A343A #373A34 #343A37
monochromatic
#100E10 #1A171A #3A343A #5A515A #7B6E7B

Accessibility & contrast

On white

12.12
#3A343A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3A343A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A343A
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A343A#FFFFFF#000000##FFFFFF
##3A343A1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34353A
Deuteranopia (green-blind)
#35363A
Tritanopia (blue-blind)
#3A3436
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3a343a;
/* rgb */ color: rgb(58, 52, 58);
/* oklch */ color: oklch(33.4% 0.013 325.9);
Tailwind
colors: {
  custom: {
    50: '#706b70',
    500: '#3a343a',
    950: '#000000',
  },
}
SCSS
$custom: #3a343a;
$custom-light: #706b70;
$custom-dark: #000000;
JSON
{
  "hex": "#3a343a",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 58
  },
  "hsl": {
    "h": 300,
    "s": 5.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33356,
    "c": 0.01325,
    "h": 325.9
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#3A343A
secondary
#616961
accent
#AF7979
background
#F6F6F6
surface
#ECEBEC
border
#C7C6C7
text
#070607
muted
#7A7A7A

Preview Lab

Preview with #3A343A

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

Preview Lab → · Contrast checker → · Palette generator →

#3A343A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva