#343434#343434

#343434 is a dark, near-neutral grey. Relative luminance 0.034; OKLCH L 32.5% C 0.000 H 0.0°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#343434
RGBrgb(52, 52, 52)
HSLhsl(0, 0%, 20%)
HSVhsv(0, 0%, 20%)
CMYKcmyk(0%, 0%, 0%, 79.6%)
CIE-LABlab(21.70, -0.00, 0.00)
CIE-LCHlch(21.70, 0.00, 135.00°)
OKLaboklab(32.5% 0 0)
OKLCHoklch(32.5% 0 0)
XYZxyz(3.2639, 3.4340, 3.7390)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343434 #343434
analogous
#343434 #343434 #343434
triadic
#343434 #343434 #343434
tetradic
#343434 #343434 #343434 #343434
square
#343434 #343434 #343434 #343434
split-complementary
#343434 #343434 #343434
monochromatic
#0F0F0F #151515 #343434 #535353 #717171

Accessibility & contrast

On white

12.45
#343434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#343434 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343434
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343434#FFFFFF#000000##FFFFFF
##3434341.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343434
Deuteranopia (green-blind)
#343434
Tritanopia (blue-blind)
#343434
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #343434;
/* rgb */ color: rgb(52, 52, 52);
/* oklch */ color: oklch(32.5% 0.000 0.0);
Tailwind
colors: {
  custom: {
    50: '#6b6b6b',
    500: '#343434',
    950: '#000000',
  },
}
SCSS
$custom: #343434;
$custom-light: #6b6b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#343434",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 52
  },
  "hsl": {
    "h": 0,
    "s": 0,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32504,
    "c": 0,
    "h": 0
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#343434
secondary
#626262
accent
#A9A97E
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #343434

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

Preview Lab → · Contrast checker → · Palette generator →

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