#302C2F color
The hex color #302C2F is a dark gray.
In the RGB color model it is made of 18.8% red, 17.3% green and 18.4% blue (48, 44, 47).
Its hue angle is 315°, with 4% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 8% magenta, 2% yellow and 81% black.
The closest named color is Night Rider (#332E2E), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.75:1).
#302C2F color codes
| HEX | #302C2F | |
|---|---|---|
| RGB | rgb(48, 44, 47) | |
| RGB percent | rgb(18.8%, 17.3%, 18.4%) | |
| HSL | hsl(315, 4%, 18%) | |
| HSV / HSB | hsv(315, 8%, 19%) | |
| CMYK | cmyk(0%, 8%, 2%, 81%) | |
| CIE LAB | lab(18.52, 2.5, -1.28) | |
| CIE LCH | lch(18.52, 2.81, 332.78) | |
| CIE XYZ | xyz(2.633, 2.635, 3.059) | |
| Decimal | 3157039 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302C2F, 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 #302C2F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.53:1 | Fail | Fail | Fail |
| Sample text | 13.75:1 | Pass | Pass | Pass |
| #302C2F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.75:1 | Pass | Pass | Pass |
| Sample text | 1.53: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 #302C2F looks to people with the most common types of color vision deficiency.
#2c2d2fProtanopia
no red cones#2d2d2fDeuteranopia
no green cones#302c2dTritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #302c2f; }
.text { color: #302c2f; }
.border { border: 2px solid #302c2f; }
.transparent { background-color: rgb(48 44 47 / 50%); }
.gradient { background: linear-gradient(to right, #302c2f, #302c2d); }
Similar colors
#332e2eNight Rider#322c2bDiesel#27252aDarth Vader#28282dAnthracite#29292fJaguar#2b2c30Caviar#333232Dark Charcoal#2e2e2eCarbon Fibre
Closest common color name: Jet Black.
Questions
- What color is #302C2F?
- #302C2F 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 #302C2F?
- The RGB value is 48, 44, 47: 48 red, 44 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #302C2F?
- The complementary color is #2C302D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302C2F?
- White text. Black text has a contrast ratio of 1.53:1 and white text 13.75:1. WCAG asks for at least 4.5:1 for normal text.