#302D30 color
The hex color #302D30 is a dark gray.
In the RGB color model it is made of 18.8% red, 17.6% green and 18.8% blue (48, 45, 48).
Its hue angle is 300°, with 3% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 0% yellow and 81% black.
The closest named color is Night Rider (#332E2E), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.6:1).
#302D30 color codes
| HEX | #302D30 | |
|---|---|---|
| RGB | rgb(48, 45, 48) | |
| RGB percent | rgb(18.8%, 17.6%, 18.8%) | |
| HSL | hsl(300, 3%, 18%) | |
| HSV / HSB | hsv(300, 6%, 19%) | |
| CMYK | cmyk(0%, 6%, 0%, 81%) | |
| CIE LAB | lab(18.88, 2.04, -1.45) | |
| CIE LCH | lch(18.88, 2.5, 324.72) | |
| CIE XYZ | xyz(2.691, 2.719, 3.179) | |
| Decimal | 3157296 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302D30, 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 #302D30 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.54:1 | Fail | Fail | Fail |
| Sample text | 13.6:1 | Pass | Pass | Pass |
| #302D30 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.6: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 #302D30 looks to people with the most common types of color vision deficiency.
#2d2e30Protanopia
no red cones#2d2e30Deuteranopia
no green cones#302d2eTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #302d30; }
.text { color: #302d30; }
.border { border: 2px solid #302d30; }
.transparent { background-color: rgb(48 45 48 / 50%); }
.gradient { background: linear-gradient(to right, #302d30, #302d2f); }
Similar colors
#332e2eNight Rider#2b2c30Caviar#28282dAnthracite#29292fJaguar#27252aDarth Vader#322c2bDiesel#333232Dark Charcoal#2e2e2eCarbon Fibre
Closest common color name: Jet Black.
Questions
- What color is #302D30?
- #302D30 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 #302D30?
- The RGB value is 48, 45, 48: 48 red, 45 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #302D30?
- The complementary color is #2D302D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302D30?
- White text. Black text has a contrast ratio of 1.54:1 and white text 13.6:1. WCAG asks for at least 4.5:1 for normal text.