#272A27 color
The hex color #272A27 is a dark gray.
In the RGB color model it is made of 15.3% red, 16.5% green and 15.3% blue (39, 42, 39).
Its hue angle is 120°, with 4% saturation and 16% lightness. For print, the CMYK equivalent is 7% cyan, 0% magenta, 7% yellow and 84% black.
The closest named color is Bitter Liquorice (#262926), a difference of 0.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.52:1).
#272A27 color codes
| HEX | #272A27 | |
|---|---|---|
| RGB | rgb(39, 42, 39) | |
| RGB percent | rgb(15.3%, 16.5%, 15.3%) | |
| HSL | hsl(120, 4%, 16%) | |
| HSV / HSB | hsv(120, 7%, 16%) | |
| CMYK | cmyk(7%, 0%, 7%, 84%) | |
| CIE LAB | lab(16.67, -2.07, 1.5) | |
| CIE LCH | lch(16.67, 2.56, 144.12) | |
| CIE XYZ | xyz(2.031, 2.234, 2.243) | |
| Decimal | 2566695 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272A27, 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 #272A27 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.45:1 | Fail | Fail | Fail |
| Sample text | 14.52:1 | Pass | Pass | Pass |
| #272A27 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.52:1 | Pass | Pass | Pass |
| Sample text | 1.45: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 #272A27 looks to people with the most common types of color vision deficiency.
#2a2927Protanopia
no red cones#2a2927Deuteranopia
no green cones#272a29Tritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #272a27; }
.text { color: #272a27; }
.border { border: 2px solid #272a27; }
.transparent { background-color: rgb(39 42 39 / 50%); }
.gradient { background: linear-gradient(to right, #272a27, #272a29); }
Similar colors
#262926Bitter Liquorice#262a2bGraphite Black#313330Oil#2a2a2aThe End#282828Dire Wolf#2b2e26Marshland#252525Nero#2b322dTerminal Black
Closest common color name: Jet Black.
Questions
- What color is #272A27?
- #272A27 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 #272A27?
- The RGB value is 39, 42, 39: 39 red, 42 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #272A27?
- The complementary color is #2A272A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272A27?
- White text. Black text has a contrast ratio of 1.45:1 and white text 14.52:1. WCAG asks for at least 4.5:1 for normal text.