#1F2727 color

#1F2727 rgb(31, 39, 39)
Shades of black

The hex color #1F2727 is a very dark, grayish cyan.

In the RGB color model it is made of 12.2% red, 15.3% green and 15.3% blue (31, 39, 39).

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

The closest named color is Graphite Black (#262A2B), a difference of 2.8 ΔE, a small difference.

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

#1F2727 color codes

HEX#1F2727
RGBrgb(31, 39, 39)
RGB percentrgb(12.2%, 15.3%, 15.3%)
HSLhsl(180, 11%, 14%)
HSV / HSBhsv(180, 21%, 15%)
CMYKcmyk(21%, 0%, 0%, 85%)
CIE LABlab(14.89, -3.52, -1.18)
CIE LCHlch(14.89, 3.71, 198.55)
CIE XYZxyz(1.657, 1.889, 2.196)
Decimal2041639
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #1F2727, 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 #1F2727RatioAAAAAAA large
Sample text1.38:1FailFailFail
Sample text15.24:1PassPassPass
#1F2727 as text onRatioAAAAAAA large
Sample text15.24:1PassPassPass
Sample text1.38: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 #1F2727 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #1f2727; }
.text { color: #1f2727; }
.border { border: 2px solid #1f2727; }
.transparent { background-color: rgb(31 39 39 / 50%); }
.gradient { background: linear-gradient(to right, #1f2727, #1f2327); }
Background
Text color
Border

Similar colors

Closest common color name: Gunmetal.

Questions

What color is #1F2727?
#1F2727 is a very dark, grayish cyan, closest to the named color Graphite Black. It belongs to the black family of colors.
What is the RGB value of #1F2727?
The RGB value is 31, 39, 39: 31 red, 39 green and 39 blue on a 0 to 255 scale.
What is the complementary color of #1F2727?
The complementary color is #271F1F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1F2727?
White text. Black text has a contrast ratio of 1.38:1 and white text 15.24:1. WCAG asks for at least 4.5:1 for normal text.