#27272B color
The hex color #27272B is a dark gray.
In the RGB color model it is made of 15.3% red, 15.3% green and 16.9% blue (39, 39, 43).
Its hue angle is 240°, with 5% saturation and 16% lightness. For print, the CMYK equivalent is 9% cyan, 9% magenta, 0% yellow and 83% black.
The closest named color is Anthracite (#28282D), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.88:1).
#27272B color codes
| HEX | #27272B | |
|---|---|---|
| RGB | rgb(39, 39, 43) | |
| RGB percent | rgb(15.3%, 15.3%, 16.9%) | |
| HSL | hsl(240, 5%, 16%) | |
| HSV / HSB | hsv(240, 9%, 17%) | |
| CMYK | cmyk(9%, 9%, 0%, 83%) | |
| CIE LAB | lab(15.78, 1, -2.62) | |
| CIE LCH | lch(15.78, 2.81, 290.93) | |
| CIE XYZ | xyz(1.998, 2.057, 2.577) | |
| Decimal | 2565931 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #27272B, 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 #27272B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.41:1 | Fail | Fail | Fail |
| Sample text | 14.88:1 | Pass | Pass | Pass |
| #27272B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.88:1 | Pass | Pass | Pass |
| Sample text | 1.41: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 #27272B looks to people with the most common types of color vision deficiency.
#26272bProtanopia
no red cones#26272bDeuteranopia
no green cones#262828Tritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #27272b; }
.text { color: #27272b; }
.border { border: 2px solid #27272b; }
.transparent { background-color: rgb(39 39 43 / 50%); }
.gradient { background: linear-gradient(to right, #27272b, #29272b); }
Similar colors
#28282dAnthracite#29292fJaguar#27252aDarth Vader#2b2c30Caviar#292b31Night Sky#202124Noble Black#282828Dire Wolf#1e1e21Inkwell Inception
Closest common color name: Jet Black.
Questions
- What color is #27272B?
- #27272B is a dark gray, closest to the named color Anthracite. It belongs to the black family of colors.
- What is the RGB value of #27272B?
- The RGB value is 39, 39, 43: 39 red, 39 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #27272B?
- The complementary color is #2B2B27, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #27272B?
- White text. Black text has a contrast ratio of 1.41:1 and white text 14.88:1. WCAG asks for at least 4.5:1 for normal text.