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