#34343C#34343C

#34343C is a dark, near-neutral grey. Relative luminance 0.035; OKLCH L 32.8% C 0.014 H 285.6°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#34343C
RGBrgb(52, 52, 60)
HSLhsl(240, 7%, 22%)
HSVhsv(240, 13%, 24%)
CMYKcmyk(13.3%, 13.3%, 0%, 76.5%)
CIE-LABlab(21.99, 1.96, -5.01)
CIE-LCHlch(21.99, 5.38, 291.37°)
OKLaboklab(32.82% 0.0038 -0.0135)
OKLCHoklch(32.82% 0.014 285.6)
XYZxyz(3.4596, 3.5123, 4.7698)
Luminance0.0351 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34343C #3C3C34
analogous
#34383C #34343C #38343C
triadic
#34343C #3C3434 #343C34
tetradic
#34343C #3C3438 #3C3C34 #343C38
square
#34343C #3C3438 #3C3C34 #343C38
split-complementary
#34343C #3C3834 #383C34
monochromatic
#0E0E10 #18181B #34343C #50505D #6D6D7E

Accessibility & contrast

On white

12.34
#34343C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34343C
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34343C#FFFFFF#000000##FFFFFF
##34343C1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32353C
Deuteranopia (green-blind)
#32343C
Tritanopia (blue-blind)
#323537
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #34343c;
/* rgb */ color: rgb(52, 52, 60);
/* oklch */ color: oklch(32.8% 0.014 285.6);
Tailwind
colors: {
  custom: {
    50: '#6b6b71',
    500: '#34343c',
    950: '#000000',
  },
}
SCSS
$custom: #34343c;
$custom-light: #6b6b71;
$custom-dark: #000000;
JSON
{
  "hex": "#34343c",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 60
  },
  "hsl": {
    "h": 240,
    "s": 7.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32821,
    "c": 0.01402,
    "h": 285.6
  },
  "luminance": 0.03512
}

Semantic roles & 50–950 ramp

primary
#34343C
secondary
#6B6B61
accent
#B078B0
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060607
muted
#7A7A7A

Preview Lab

Preview with #34343C

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

Preview Lab → · Contrast checker → · Palette generator →

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