#272428 color
The hex color #272428 is a dark gray.
In the RGB color model it is made of 15.3% red, 14.1% green and 15.7% blue (39, 36, 40).
Its hue angle is 285°, with 5% saturation and 15% lightness. For print, the CMYK equivalent is 2% cyan, 10% magenta, 0% yellow and 84% black.
The closest named color is Darth Vader (#27252A), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.34:1).
#272428 color codes
| HEX | #272428 | |
|---|---|---|
| RGB | rgb(39, 36, 40) | |
| RGB percent | rgb(15.3%, 14.1%, 15.7%) | |
| HSL | hsl(285, 5%, 15%) | |
| HSV / HSB | hsv(285, 10%, 16%) | |
| CMYK | cmyk(2%, 10%, 0%, 84%) | |
| CIE LAB | lab(14.66, 2.36, -2.15) | |
| CIE LCH | lch(14.66, 3.19, 317.63) | |
| CIE XYZ | xyz(1.851, 1.846, 2.266) | |
| Decimal | 2565160 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272428, 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 #272428 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.37:1 | Fail | Fail | Fail |
| Sample text | 15.34:1 | Pass | Pass | Pass |
| #272428 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.34:1 | Pass | Pass | Pass |
| Sample text | 1.37: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 #272428 looks to people with the most common types of color vision deficiency.
#242528Protanopia
no red cones#242528Deuteranopia
no green cones#272425Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #272428; }
.text { color: #272428; }
.border { border: 2px solid #272428; }
.transparent { background-color: rgb(39 36 40 / 50%); }
.gradient { background: linear-gradient(to right, #272428, #282427); }
Similar colors
#27252aDarth Vader#252024Ink Black#28282dAnthracite#29292fJaguar#241f20Velvet Black#211e1fUmbra#1e1e21Inkwell Inception#201b20Night Demons
Closest common color name: Jet Black.
Questions
- What color is #272428?
- #272428 is a dark gray, closest to the named color Darth Vader. It belongs to the black family of colors.
- What is the RGB value of #272428?
- The RGB value is 39, 36, 40: 39 red, 36 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #272428?
- The complementary color is #252824, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272428?
- White text. Black text has a contrast ratio of 1.37:1 and white text 15.34:1. WCAG asks for at least 4.5:1 for normal text.