#302C30 color
The hex color #302C30 is a dark gray.
In the RGB color model it is made of 18.8% red, 17.3% green and 18.8% blue (48, 44, 48).
Its hue angle is 300°, with 4% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 8% magenta, 0% yellow and 81% black.
The closest named color is Darth Vader (#27252A), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.74:1).
#302C30 color codes
| HEX | #302C30 | |
|---|---|---|
| RGB | rgb(48, 44, 48) | |
| RGB percent | rgb(18.8%, 17.3%, 18.8%) | |
| HSL | hsl(300, 4%, 18%) | |
| HSV / HSB | hsv(300, 8%, 19%) | |
| CMYK | cmyk(0%, 8%, 0%, 81%) | |
| CIE LAB | lab(18.55, 2.73, -1.93) | |
| CIE LCH | lch(18.55, 3.34, 324.82) | |
| CIE XYZ | xyz(2.653, 2.643, 3.166) | |
| Decimal | 3157040 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302C30, 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 #302C30 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.53:1 | Fail | Fail | Fail |
| Sample text | 13.74:1 | Pass | Pass | Pass |
| #302C30 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.74: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 #302C30 looks to people with the most common types of color vision deficiency.
#2c2d30Protanopia
no red cones#2d2d30Deuteranopia
no green cones#302c2dTritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #302c30; }
.text { color: #302c30; }
.border { border: 2px solid #302c30; }
.transparent { background-color: rgb(48 44 48 / 50%); }
.gradient { background: linear-gradient(to right, #302c30, #302c2e); }
Similar colors
#27252aDarth Vader#332e2eNight Rider#29292fJaguar#28282dAnthracite#2b2c30Caviar#322c2bDiesel#352b30Mystical Shadow#292b31Night Sky
Closest common color name: Jet Black.
Questions
- What color is #302C30?
- #302C30 is a dark gray, closest to the named color Darth Vader. It belongs to the black family of colors.
- What is the RGB value of #302C30?
- The RGB value is 48, 44, 48: 48 red, 44 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #302C30?
- The complementary color is #2C302C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302C30?
- White text. Black text has a contrast ratio of 1.53:1 and white text 13.74:1. WCAG asks for at least 4.5:1 for normal text.