#313339 color

#313339 rgb(49, 51, 57)
Shades of gray

The hex color #313339 is a dark gray.

In the RGB color model it is made of 19.2% red, 20% green and 22.4% blue (49, 51, 57).

Its hue angle is 225°, with 8% saturation and 21% lightness. For print, the CMYK equivalent is 14% cyan, 11% magenta, 0% yellow and 78% black.

The closest named color is Artist’s Charcoal (#37393E), a difference of 2 ΔE, a small difference.

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

#313339 color codes

HEX#313339
RGBrgb(49, 51, 57)
RGB percentrgb(19.2%, 20%, 22.4%)
HSLhsl(225, 8%, 21%)
HSV / HSBhsv(225, 14%, 22%)
CMYKcmyk(14%, 11%, 0%, 78%)
CIE LABlab(21.27, 0.63, -4.08)
CIE LCHlch(21.27, 4.12, 278.75)
CIE XYZxyz(3.189, 3.316, 4.342)
Decimal3224377
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #313339, 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 #313339RatioAAAAAAA large
Sample text1.66:1FailFailFail
Sample text12.63:1PassPassPass
#313339 as text onRatioAAAAAAA large
Sample text12.63:1PassPassPass
Sample text1.66: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 #313339 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #313339; }
.text { color: #313339; }
.border { border: 2px solid #313339; }
.transparent { background-color: rgb(49 51 57 / 50%); }
.gradient { background: linear-gradient(to right, #313339, #333139); }
Background
Text color
Border

Similar colors

Closest common color name: Jet Black.

Questions

What color is #313339?
#313339 is a dark gray, closest to the named color Artist’s Charcoal. It belongs to the gray family of colors.
What is the RGB value of #313339?
The RGB value is 49, 51, 57: 49 red, 51 green and 57 blue on a 0 to 255 scale.
What is the complementary color of #313339?
The complementary color is #393731, found by rotating the hue 180° on the color wheel.
Is black or white text better on #313339?
White text. Black text has a contrast ratio of 1.66:1 and white text 12.63:1. WCAG asks for at least 4.5:1 for normal text.