#272D2B color
The hex color #272D2B is a dark gray.
In the RGB color model it is made of 15.3% red, 17.6% green and 16.9% blue (39, 45, 43).
Its hue angle is 160°, with 7% saturation and 16% lightness. For print, the CMYK equivalent is 13% cyan, 0% magenta, 4% yellow and 82% black.
The closest named color is Bitter Liquorice (#262926), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.03:1).
#272D2B color codes
| HEX | #272D2B | |
|---|---|---|
| RGB | rgb(39, 45, 43) | |
| RGB percent | rgb(15.3%, 17.6%, 16.9%) | |
| HSL | hsl(160, 7%, 16%) | |
| HSV / HSB | hsv(160, 13%, 18%) | |
| CMYK | cmyk(13%, 0%, 4%, 82%) | |
| CIE LAB | lab(17.84, -3.13, 0.4) | |
| CIE LCH | lch(17.84, 3.15, 172.7) | |
| CIE XYZ | xyz(2.211, 2.482, 2.648) | |
| Decimal | 2567467 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272D2B, 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 #272D2B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.5:1 | Fail | Fail | Fail |
| Sample text | 14.03:1 | Pass | Pass | Pass |
| #272D2B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.03:1 | Pass | Pass | Pass |
| Sample text | 1.5: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 #272D2B looks to people with the most common types of color vision deficiency.
#2d2c2bProtanopia
no red cones#2b2b2bDeuteranopia
no green cones#262d2cTritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #272d2b; }
.text { color: #272d2b; }
.border { border: 2px solid #272d2b; }
.transparent { background-color: rgb(39 45 43 / 50%); }
.gradient { background: linear-gradient(to right, #272d2b, #272c2d); }
Similar colors
#262926Bitter Liquorice#2b322dTerminal Black#262a2bGraphite Black#2f3434Phantom Ship#293432Aztec#313330Oil#2b2e26Marshland#293135Nightmare Fuel
Closest common color name: Onyx.
Questions
- What color is #272D2B?
- #272D2B is a dark gray, closest to the named color Bitter Liquorice. It belongs to the black family of colors.
- What is the RGB value of #272D2B?
- The RGB value is 39, 45, 43: 39 red, 45 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #272D2B?
- The complementary color is #2D2729, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272D2B?
- White text. Black text has a contrast ratio of 1.5:1 and white text 14.03:1. WCAG asks for at least 4.5:1 for normal text.