#302F2E color
The hex color #302F2E is a dark gray.
In the RGB color model it is made of 18.8% red, 18.4% green and 18% blue (48, 47, 46).
Its hue angle is 30°, with 2% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 4% yellow and 81% black.
The closest named color is Carbon Fibre (#2E2E2E), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.36:1).
#302F2E color codes
| HEX | #302F2E | |
|---|---|---|
| RGB | rgb(48, 47, 46) | |
| RGB percent | rgb(18.8%, 18.4%, 18%) | |
| HSL | hsl(30, 2%, 18%) | |
| HSV / HSB | hsv(30, 4%, 19%) | |
| CMYK | cmyk(0%, 2%, 4%, 81%) | |
| CIE LAB | lab(19.47, 0.21, 0.8) | |
| CIE LCH | lch(19.47, 0.83, 75) | |
| CIE XYZ | xyz(2.729, 2.859, 2.992) | |
| Decimal | 3157806 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302F2E, 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 #302F2E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.57:1 | Fail | Fail | Fail |
| Sample text | 13.36:1 | Pass | Pass | Pass |
| #302F2E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.36:1 | Pass | Pass | Pass |
| Sample text | 1.57: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 #302F2E looks to people with the most common types of color vision deficiency.
#2f2f2eProtanopia
no red cones#302f2eDeuteranopia
no green cones#302f2fTritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #302f2e; }
.text { color: #302f2e; }
.border { border: 2px solid #302f2e; }
.transparent { background-color: rgb(48 47 46 / 50%); }
.gradient { background: linear-gradient(to right, #302f2e, #30302e); }
Similar colors
#2e2e2eCarbon Fibre#333232Dark Charcoal#333333Carbon#343434Jet Black#2a2a2aThe End#332f2cHoly Crow#282828Dire Wolf#332e2eNight Rider
Questions
- What color is #302F2E?
- #302F2E is a dark gray, closest to the named color Carbon Fibre. It belongs to the black family of colors.
- What is the RGB value of #302F2E?
- The RGB value is 48, 47, 46: 48 red, 47 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #302F2E?
- The complementary color is #2E2F30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302F2E?
- White text. Black text has a contrast ratio of 1.57:1 and white text 13.36:1. WCAG asks for at least 4.5:1 for normal text.