#27272D color
The hex color #27272D is a dark gray.
In the RGB color model it is made of 15.3% red, 15.3% green and 17.6% blue (39, 39, 45).
Its hue angle is 240°, with 7% saturation and 16% lightness. For print, the CMYK equivalent is 13% cyan, 13% magenta, 0% yellow and 82% black.
The closest named color is Jaguar (#29292F), a difference of 0.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.85:1).
#27272D color codes
| HEX | #27272D | |
|---|---|---|
| RGB | rgb(39, 39, 45) | |
| RGB percent | rgb(15.3%, 15.3%, 17.6%) | |
| HSL | hsl(240, 7%, 16%) | |
| HSV / HSB | hsv(240, 13%, 18%) | |
| CMYK | cmyk(13%, 13%, 0%, 82%) | |
| CIE LAB | lab(15.86, 1.53, -3.92) | |
| CIE LCH | lch(15.86, 4.21, 291.3) | |
| CIE XYZ | xyz(2.036, 2.072, 2.775) | |
| Decimal | 2565933 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #27272D, 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 #27272D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.41:1 | Fail | Fail | Fail |
| Sample text | 14.85:1 | Pass | Pass | Pass |
| #27272D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.85: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 #27272D looks to people with the most common types of color vision deficiency.
#26282dProtanopia
no red cones#25272dDeuteranopia
no green cones#262829Tritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #27272d; }
.text { color: #27272d; }
.border { border: 2px solid #27272d; }
.transparent { background-color: rgb(39 39 45 / 50%); }
.gradient { background: linear-gradient(to right, #27272d, #2a272d); }
Similar colors
#29292fJaguar#28282dAnthracite#27252aDarth Vader#292b31Night Sky#2b2c30Caviar#202124Noble Black#222831Infinity#1e1e21Inkwell Inception
Closest common color name: Jet Black.
Questions
- What color is #27272D?
- #27272D is a dark gray, closest to the named color Jaguar. It belongs to the black family of colors.
- What is the RGB value of #27272D?
- The RGB value is 39, 39, 45: 39 red, 39 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #27272D?
- The complementary color is #2D2D27, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #27272D?
- White text. Black text has a contrast ratio of 1.41:1 and white text 14.85:1. WCAG asks for at least 4.5:1 for normal text.