#302D2E color
The hex color #302D2E is a dark gray.
In the RGB color model it is made of 18.8% red, 17.6% green and 18% blue (48, 45, 46).
Its hue angle is 340°, with 3% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 4% yellow and 81% black.
The closest named color is Night Rider (#332E2E), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.63:1).
#302D2E color codes
| HEX | #302D2E | |
|---|---|---|
| RGB | rgb(48, 45, 46) | |
| RGB percent | rgb(18.8%, 17.6%, 18%) | |
| HSL | hsl(340, 3%, 18%) | |
| HSV / HSB | hsv(340, 6%, 19%) | |
| CMYK | cmyk(0%, 6%, 4%, 81%) | |
| CIE LAB | lab(18.81, 1.58, -0.16) | |
| CIE LCH | lch(18.81, 1.58, 354.17) | |
| CIE XYZ | xyz(2.65, 2.702, 2.966) | |
| Decimal | 3157294 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302D2E, 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 #302D2E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.54:1 | Fail | Fail | Fail |
| Sample text | 13.63:1 | Pass | Pass | Pass |
| #302D2E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.63: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 #302D2E looks to people with the most common types of color vision deficiency.
#2d2d2eProtanopia
no red cones#2e2e2eDeuteranopia
no green cones#312d2dTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #302d2e; }
.text { color: #302d2e; }
.border { border: 2px solid #302d2e; }
.transparent { background-color: rgb(48 45 46 / 50%); }
.gradient { background: linear-gradient(to right, #302d2e, #302e2d); }
Similar colors
#332e2eNight Rider#322c2bDiesel#333232Dark Charcoal#2e2e2eCarbon Fibre#2a2a2aThe End#332f2cHoly Crow#333333Carbon#282828Dire Wolf
Closest common color name: Jet Black.
Questions
- What color is #302D2E?
- #302D2E is a dark gray, closest to the named color Night Rider. It belongs to the black family of colors.
- What is the RGB value of #302D2E?
- The RGB value is 48, 45, 46: 48 red, 45 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #302D2E?
- The complementary color is #2D302F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302D2E?
- White text. Black text has a contrast ratio of 1.54:1 and white text 13.63:1. WCAG asks for at least 4.5:1 for normal text.