#3A3434#3A3434

#3A3434 is a dark, near-neutral grey. Relative luminance 0.036; OKLCH L 33.1% C 0.009 H 17.6°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#3A3434
RGBrgb(58, 52, 52)
HSLhsl(0, 5%, 22%)
HSVhsv(0, 10%, 23%)
CMYKcmyk(0%, 10.3%, 10.3%, 77.3%)
CIE-LABlab(22.31, 2.65, 0.96)
CIE-LCHlch(22.31, 2.82, 19.97°)
OKLaboklab(33.13% 0.0081 0.0026)
OKLCHoklch(33.13% 0.009 17.6)
XYZxyz(3.5927, 3.6035, 3.7544)
Luminance0.0360 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3434 #343A3A
analogous
#3A3437 #3A3434 #3A3734
triadic
#3A3434 #343A34 #34343A
tetradic
#3A3434 #373A34 #343A3A #37343A
square
#3A3434 #373A34 #343A3A #37343A
split-complementary
#3A3434 #343A37 #34373A
monochromatic
#100E0E #1A1717 #3A3434 #5A5151 #7B6E6E

Accessibility & contrast

On white

12.21
#3A3434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3A3434 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3434
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3434#FFFFFF#000000##FFFFFF
##3A34341.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353534
Deuteranopia (green-blind)
#363634
Tritanopia (blue-blind)
#3B3334
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3a3434;
/* rgb */ color: rgb(58, 52, 52);
/* oklch */ color: oklch(33.1% 0.009 17.6);
Tailwind
colors: {
  custom: {
    50: '#706b6b',
    500: '#3a3434',
    950: '#000000',
  },
}
SCSS
$custom: #3a3434;
$custom-light: #706b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3434",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 52
  },
  "hsl": {
    "h": 0,
    "s": 5.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33131,
    "c": 0.00854,
    "h": 17.6
  },
  "luminance": 0.03603
}

Semantic roles & 50–950 ramp

primary
#3A3434
secondary
#616969
accent
#AFAF79
background
#F6F6F6
surface
#ECEBEB
border
#C7C6C6
text
#070606
muted
#7A7A7A

Preview Lab

Preview with #3A3434

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

Preview Lab → · Contrast checker → · Palette generator →

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