#282F2F color
The hex color #282F2F is a very dark, grayish cyan.
In the RGB color model it is made of 15.7% red, 18.4% green and 18.4% blue (40, 47, 47).
Its hue angle is 180°, with 8% saturation and 17% lightness. For print, the CMYK equivalent is 15% cyan, 0% magenta, 0% yellow and 82% black.
The closest named color is Phantom Ship (#2F3434), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.66:1).
#282F2F color codes
| HEX | #282F2F | |
|---|---|---|
| RGB | rgb(40, 47, 47) | |
| RGB percent | rgb(15.7%, 18.4%, 18.4%) | |
| HSL | hsl(180, 8%, 17%) | |
| HSV / HSB | hsv(180, 15%, 18%) | |
| CMYK | cmyk(15%, 0%, 0%, 82%) | |
| CIE LAB | lab(18.75, -3.02, -1.03) | |
| CIE LCH | lch(18.75, 3.19, 198.75) | |
| CIE XYZ | xyz(2.405, 2.689, 3.081) | |
| Decimal | 2633519 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #282F2F, 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 #282F2F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.54:1 | Fail | Fail | Fail |
| Sample text | 13.66:1 | Pass | Pass | Pass |
| #282F2F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.66:1 | Pass | Pass | Pass |
| Sample text | 1.54: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 #282F2F looks to people with the most common types of color vision deficiency.
#2e2e2fProtanopia
no red cones#2d2d2fDeuteranopia
no green cones#26302fTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #282f2f; }
.text { color: #282f2f; }
.border { border: 2px solid #282f2f; }
.transparent { background-color: rgb(40 47 47 / 50%); }
.gradient { background: linear-gradient(to right, #282f2f, #282c2f); }
Similar colors
#2f3434Phantom Ship#262a2bGraphite Black#293135Nightmare Fuel#293432Aztec#262926Bitter Liquorice#2b322dTerminal Black#242a2eCinder#313330Oil
Closest common color name: Gunmetal.
Questions
- What color is #282F2F?
- #282F2F is a very dark, grayish cyan, closest to the named color Phantom Ship. It belongs to the black family of colors.
- What is the RGB value of #282F2F?
- The RGB value is 40, 47, 47: 40 red, 47 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #282F2F?
- The complementary color is #2F2828, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #282F2F?
- White text. Black text has a contrast ratio of 1.54:1 and white text 13.66:1. WCAG asks for at least 4.5:1 for normal text.