#313837 color

#313837 rgb(49, 56, 55)
Shades of gray

The hex color #313837 is a dark gray.

In the RGB color model it is made of 19.2% red, 22% green and 21.6% blue (49, 56, 55).

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

The closest named color is Phantom Ship (#2F3434), a difference of 1.8 ΔE, which is barely visible.

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

#313837 color codes

HEX#313837
RGBrgb(49, 56, 55)
RGB percentrgb(19.2%, 22%, 21.6%)
HSLhsl(171, 7%, 21%)
HSV / HSBhsv(171, 12%, 22%)
CMYKcmyk(13%, 0%, 2%, 78%)
CIE LABlab(22.85, -3.2, -0.38)
CIE LCHlch(22.85, 3.22, 186.82)
CIE XYZxyz(3.37, 3.757, 4.161)
Decimal3225655
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #313837; }
.text { color: #313837; }
.border { border: 2px solid #313837; }
.transparent { background-color: rgb(49 56 55 / 50%); }
.gradient { background: linear-gradient(to right, #313837, #313538); }
Background
Text color
Border

Similar colors

Questions

What color is #313837?
#313837 is a dark gray, closest to the named color Phantom Ship. It belongs to the gray family of colors.
What is the RGB value of #313837?
The RGB value is 49, 56, 55: 49 red, 56 green and 55 blue on a 0 to 255 scale.
What is the complementary color of #313837?
The complementary color is #383132, found by rotating the hue 180° on the color wheel.
Is black or white text better on #313837?
White text. Black text has a contrast ratio of 1.75:1 and white text 11.99:1. WCAG asks for at least 4.5:1 for normal text.