#343337 color

#343337 rgb(52, 51, 55)
Shades of gray

The hex color #343337 is a dark gray.

In the RGB color model it is made of 20.4% red, 20% green and 21.6% blue (52, 51, 55).

Its hue angle is 255°, with 4% saturation and 21% lightness. For print, the CMYK equivalent is 5% cyan, 7% magenta, 0% yellow and 78% black.

The closest named color is After Midnight (#38393F), a difference of 2.4 ΔE, a small difference.

White text is the more readable choice on this background (contrast 12.54:1).

#343337 color codes

HEX#343337
RGBrgb(52, 51, 55)
RGB percentrgb(20.4%, 20%, 21.6%)
HSLhsl(255, 4%, 21%)
HSV / HSBhsv(255, 7%, 22%)
CMYKcmyk(5%, 7%, 0%, 78%)
CIE LABlab(21.48, 1.38, -2.37)
CIE LCHlch(21.48, 2.74, 300.3)
CIE XYZxyz(3.289, 3.374, 4.092)
Decimal3420983
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #343337, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #343337RatioAAAAAAA large
Sample text1.67:1FailFailFail
Sample text12.54:1PassPassPass
#343337 as text onRatioAAAAAAA large
Sample text12.54:1PassPassPass
Sample text1.67:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #343337 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #343337; }
.text { color: #343337; }
.border { border: 2px solid #343337; }
.transparent { background-color: rgb(52 51 55 / 50%); }
.gradient { background: linear-gradient(to right, #343337, #363337); }
Background
Text color
Border

Similar colors

Questions

What color is #343337?
#343337 is a dark gray, closest to the named color After Midnight. It belongs to the gray family of colors.
What is the RGB value of #343337?
The RGB value is 52, 51, 55: 52 red, 51 green and 55 blue on a 0 to 255 scale.
What is the complementary color of #343337?
The complementary color is #363733, found by rotating the hue 180° on the color wheel.
Is black or white text better on #343337?
White text. Black text has a contrast ratio of 1.67:1 and white text 12.54:1. WCAG asks for at least 4.5:1 for normal text.