#342F2F#342F2F

#342F2F is a dark, near-neutral grey. Relative luminance 0.030; OKLCH L 31.0% C 0.007 H 17.6°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#342F2F
RGBrgb(52, 47, 47)
HSLhsl(0, 5%, 19%)
HSVhsv(0, 10%, 20%)
CMYKcmyk(0%, 9.6%, 9.6%, 79.6%)
CIE-LABlab(19.92, 2.24, 0.81)
CIE-LCHlch(19.92, 2.38, 19.93°)
OKLaboklab(31.05% 0.0069 0.0022)
OKLCHoklch(31.05% 0.007 17.6)
XYZxyz(2.9457, 2.9684, 3.1065)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342F2F #2F3434
analogous
#342F32 #342F2F #34322F
triadic
#342F2F #2F342F #2F2F34
tetradic
#342F2F #32342F #2F3434 #322F34
square
#342F2F #32342F #2F3434 #322F34
split-complementary
#342F2F #2F3432 #2F3234
monochromatic
#100F0F #141212 #342F2F #544C4C #746969

Accessibility & contrast

On white

13.18
#342F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#342F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342F2F
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342F2F#FFFFFF#000000##FFFFFF
##342F2F1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30302F
Deuteranopia (green-blind)
#31302F
Tritanopia (blue-blind)
#352F2F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #342f2f;
/* rgb */ color: rgb(52, 47, 47);
/* oklch */ color: oklch(31.0% 0.007 17.6);
Tailwind
colors: {
  custom: {
    50: '#6b6767',
    500: '#342f2f',
    950: '#000000',
  },
}
SCSS
$custom: #342f2f;
$custom-light: #6b6767;
$custom-dark: #000000;
JSON
{
  "hex": "#342f2f",
  "rgb": {
    "r": 52,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 0,
    "s": 5.051,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31048,
    "c": 0.00723,
    "h": 17.6
  },
  "luminance": 0.02968
}

Semantic roles & 50–950 ramp

primary
#342F2F
secondary
#5C6363
accent
#AEAE7A
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #342F2F

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

Preview Lab → · Contrast checker → · Palette generator →

#342F2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva