#272A24 color
The hex color #272A24 is a dark gray.
In the RGB color model it is made of 15.3% red, 16.5% green and 14.1% blue (39, 42, 36).
Its hue angle is 90°, with 8% saturation and 15% lightness. For print, the CMYK equivalent is 7% cyan, 0% magenta, 14% yellow and 84% black.
The closest named color is Marshland (#2B2E26), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.55:1).
#272A24 color codes
| HEX | #272A24 | |
|---|---|---|
| RGB | rgb(39, 42, 36) | |
| RGB percent | rgb(15.3%, 16.5%, 14.1%) | |
| HSL | hsl(90, 8%, 15%) | |
| HSV / HSB | hsv(90, 14%, 16%) | |
| CMYK | cmyk(7%, 0%, 14%, 84%) | |
| CIE LAB | lab(16.58, -2.76, 3.47) | |
| CIE LCH | lch(16.58, 4.43, 128.56) | |
| CIE XYZ | xyz(1.983, 2.215, 1.992) | |
| Decimal | 2566692 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272A24, 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 #272A24 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.44:1 | Fail | Fail | Fail |
| Sample text | 14.55:1 | Pass | Pass | Pass |
| #272A24 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.55:1 | Pass | Pass | Pass |
| Sample text | 1.44: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 #272A24 looks to people with the most common types of color vision deficiency.
#2b2924Protanopia
no red cones#2a2924Deuteranopia
no green cones#272928Tritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #272a24; }
.text { color: #272a24; }
.border { border: 2px solid #272a24; }
.transparent { background-color: rgb(39 42 36 / 50%); }
.gradient { background: linear-gradient(to right, #272a24, #242a24); }
Similar colors
#2b2e26Marshland#262926Bitter Liquorice#1e231cUnderworld#2b322dTerminal Black#313330Oil#262a2bGraphite Black#282828Dire Wolf#2a2a2aThe End
Closest common color name: Onyx.
Questions
- What color is #272A24?
- #272A24 is a dark gray, closest to the named color Marshland. It belongs to the black family of colors.
- What is the RGB value of #272A24?
- The RGB value is 39, 42, 36: 39 red, 42 green and 36 blue on a 0 to 255 scale.
- What is the complementary color of #272A24?
- The complementary color is #27242A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272A24?
- White text. Black text has a contrast ratio of 1.44:1 and white text 14.55:1. WCAG asks for at least 4.5:1 for normal text.