#272829 color
The hex color #272829 is a dark gray.
In the RGB color model it is made of 15.3% red, 15.7% green and 16.1% blue (39, 40, 41).
Its hue angle is 210°, with 3% saturation and 16% lightness. For print, the CMYK equivalent is 5% cyan, 2% magenta, 0% yellow and 84% black.
The closest named color is Dire Wolf (#282828), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.77:1).
#272829 color codes
| HEX | #272829 | |
|---|---|---|
| RGB | rgb(39, 40, 41) | |
| RGB percent | rgb(15.3%, 15.7%, 16.1%) | |
| HSL | hsl(210, 3%, 16%) | |
| HSV / HSB | hsv(210, 5%, 16%) | |
| CMYK | cmyk(5%, 2%, 0%, 84%) | |
| CIE LAB | lab(16.05, -0.2, -0.81) | |
| CIE LCH | lch(16.05, 0.84, 255.9) | |
| CIE XYZ | xyz(1.996, 2.109, 2.399) | |
| Decimal | 2566185 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272829, 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 #272829 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.42:1 | Fail | Fail | Fail |
| Sample text | 14.77:1 | Pass | Pass | Pass |
| #272829 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.77:1 | Pass | Pass | Pass |
| Sample text | 1.42:1 | Fail | Fail | Fail |
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 #272829 looks to people with the most common types of color vision deficiency.
#282829Protanopia
no red cones#272829Deuteranopia
no green cones#272828Tritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #272829; }
.text { color: #272829; }
.border { border: 2px solid #272829; }
.transparent { background-color: rgb(39 40 41 / 50%); }
.gradient { background: linear-gradient(to right, #272829, #272729); }
Similar colors
#282828Dire Wolf#2a2a2aThe End#252525Nero#232323Young Night#262a2bGraphite Black#2e2e2eCarbon Fibre#212121Lead#2b2c30Caviar
Closest common color name: Jet Black.
Questions
- What color is #272829?
- #272829 is a dark gray, closest to the named color Dire Wolf. It belongs to the black family of colors.
- What is the RGB value of #272829?
- The RGB value is 39, 40, 41: 39 red, 40 green and 41 blue on a 0 to 255 scale.
- What is the complementary color of #272829?
- The complementary color is #292827, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272829?
- White text. Black text has a contrast ratio of 1.42:1 and white text 14.77:1. WCAG asks for at least 4.5:1 for normal text.