#34343A#34343A

#34343A is a dark, near-neutral grey. Relative luminance 0.035; OKLCH L 32.7% C 0.011 H 285.8°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#34343A
RGBrgb(52, 52, 58)
HSLhsl(240, 5%, 22%)
HSVhsv(240, 10%, 23%)
CMYKcmyk(10.3%, 10.3%, 0%, 77.3%)
CIE-LABlab(21.91, 1.45, -3.76)
CIE-LCHlch(21.91, 4.03, 291.08°)
OKLaboklab(32.74% 0.0029 -0.0101)
OKLCHoklch(32.74% 0.011 285.8)
XYZxyz(3.4077, 3.4915, 4.4966)
Luminance0.0349 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34343A #3A3A34
analogous
#34373A #34343A #37343A
triadic
#34343A #3A3434 #343A34
tetradic
#34343A #3A3437 #3A3A34 #343A37
square
#34343A #3A3437 #3A3A34 #343A37
split-complementary
#34343A #3A3734 #373A34
monochromatic
#0E0E10 #17171A #34343A #51515A #6E6E7B

Accessibility & contrast

On white

12.36
#34343A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#34343A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34343A
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34343A#FFFFFF#000000##FFFFFF
##34343A1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33353A
Deuteranopia (green-blind)
#33343A
Tritanopia (blue-blind)
#333536
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #34343a;
/* rgb */ color: rgb(52, 52, 58);
/* oklch */ color: oklch(32.7% 0.011 285.8);
Tailwind
colors: {
  custom: {
    50: '#6b6b70',
    500: '#34343a',
    950: '#000000',
  },
}
SCSS
$custom: #34343a;
$custom-light: #6b6b70;
$custom-dark: #000000;
JSON
{
  "hex": "#34343a",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 58
  },
  "hsl": {
    "h": 240,
    "s": 5.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32737,
    "c": 0.0105,
    "h": 285.8
  },
  "luminance": 0.03492
}

Semantic roles & 50–950 ramp

primary
#34343A
secondary
#696961
accent
#AF79AF
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060607
muted
#7A7A7A

Preview Lab

Preview with #34343A

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

Preview Lab → · Contrast checker → · Palette generator →

#34343A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva