#342D30#342D30

#342D30 is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.6% C 0.011 H 350.0°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#342D30
RGBrgb(52, 45, 48)
HSLhsl(334, 7%, 19%)
HSVhsv(334, 13%, 20%)
CMYKcmyk(0%, 13.5%, 7.7%, 79.6%)
CIE-LABlab(19.31, 3.83, -0.76)
CIE-LCHlch(19.31, 3.90, 348.70°)
OKLaboklab(30.58% 0.0112 -0.002)
OKLCHoklch(30.58% 0.011 350)
XYZxyz(2.8880, 2.8203, 3.1880)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342D30 #2D3431
analogous
#342D34 #342D30 #342E2D
triadic
#342D30 #30342D #2D3034
tetradic
#342D30 #34342D #2D3431 #2E2D34
square
#342D30 #34342D #2D3431 #2E2D34
split-complementary
#342D30 #2D342E #2D3434
monochromatic
#100E0F #131112 #342D30 #55494E #76666D

Accessibility & contrast

On white

13.43
#342D30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#342D30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342D30
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342D30#FFFFFF#000000##FFFFFF
##342D301.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E30
Deuteranopia (green-blind)
#2F2F30
Tritanopia (blue-blind)
#352D2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #342d30;
/* rgb */ color: rgb(52, 45, 48);
/* oklch */ color: oklch(30.6% 0.011 350.0);
Tailwind
colors: {
  custom: {
    50: '#6b6568',
    500: '#342d30',
    950: '#000000',
  },
}
SCSS
$custom: #342d30;
$custom-light: #6b6568;
$custom-dark: #000000;
JSON
{
  "hex": "#342d30",
  "rgb": {
    "r": 52,
    "g": 45,
    "b": 48
  },
  "hsl": {
    "h": 334.286,
    "s": 7.216,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30584,
    "c": 0.01137,
    "h": 350
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#342D30
secondary
#5A635F
accent
#B09878
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060506
muted
#7A7A7A

Preview Lab

Preview with #342D30

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

Preview Lab → · Contrast checker → · Palette generator →

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