#282928 color
The hex color #282928 is a dark gray.
In the RGB color model it is made of 15.7% red, 16.1% green and 15.7% blue (40, 41, 40).
Its hue angle is 120°, with 1% saturation and 16% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 2% yellow and 84% black.
The closest named color is Dire Wolf (#282828), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.6:1).
#282928 color codes
| HEX | #282928 | |
|---|---|---|
| RGB | rgb(40, 41, 40) | |
| RGB percent | rgb(15.7%, 16.1%, 15.7%) | |
| HSL | hsl(120, 1%, 16%) | |
| HSV / HSB | hsv(120, 2%, 16%) | |
| CMYK | cmyk(2%, 0%, 2%, 84%) | |
| CIE LAB | lab(16.46, -0.69, 0.5) | |
| CIE LCH | lch(16.46, 0.85, 144.34) | |
| CIE XYZ | xyz(2.051, 2.19, 2.322) | |
| Decimal | 2631976 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #282928, 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 #282928 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.44:1 | Fail | Fail | Fail |
| Sample text | 14.6:1 | Pass | Pass | Pass |
| #282928 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.6:1 | Pass | Pass | Pass |
| Sample text | 1.44: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 #282928 looks to people with the most common types of color vision deficiency.
#292928Protanopia
no red cones#292928Deuteranopia
no green cones#282929Tritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #282928; }
.text { color: #282928; }
.border { border: 2px solid #282928; }
.transparent { background-color: rgb(40 41 40 / 50%); }
.gradient { background: linear-gradient(to right, #282928, #282929); }
Similar colors
#282828Dire Wolf#2a2a2aThe End#252525Nero#2e2e2eCarbon Fibre#262a2bGraphite Black#262926Bitter Liquorice#232323Young Night#212121Lead
Closest common color name: Jet Black.
Questions
- What color is #282928?
- #282928 is a dark gray, closest to the named color Dire Wolf. It belongs to the black family of colors.
- What is the RGB value of #282928?
- The RGB value is 40, 41, 40: 40 red, 41 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #282928?
- The complementary color is #292829, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #282928?
- White text. Black text has a contrast ratio of 1.44:1 and white text 14.6:1. WCAG asks for at least 4.5:1 for normal text.