#302F2B color
The hex color #302F2B is a dark gray.
In the RGB color model it is made of 18.8% red, 18.4% green and 16.9% blue (48, 47, 43).
Its hue angle is 48°, with 5% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 10% yellow and 81% black.
The closest named color is Oil (#313330), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.4:1).
#302F2B color codes
| HEX | #302F2B | |
|---|---|---|
| RGB | rgb(48, 47, 43) | |
| RGB percent | rgb(18.8%, 18.4%, 16.9%) | |
| HSL | hsl(48, 5%, 18%) | |
| HSV / HSB | hsv(48, 10%, 19%) | |
| CMYK | cmyk(0%, 2%, 10%, 81%) | |
| CIE LAB | lab(19.37, -0.45, 2.73) | |
| CIE LCH | lch(19.37, 2.77, 99.43) | |
| CIE XYZ | xyz(2.671, 2.836, 2.692) | |
| Decimal | 3157803 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302F2B, 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 #302F2B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.57:1 | Fail | Fail | Fail |
| Sample text | 13.4:1 | Pass | Pass | Pass |
| #302F2B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.4: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 #302F2B looks to people with the most common types of color vision deficiency.
#302f2bProtanopia
no red cones#302f2bDeuteranopia
no green cones#312e2eTritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #302f2b; }
.text { color: #302f2b; }
.border { border: 2px solid #302f2b; }
.transparent { background-color: rgb(48 47 43 / 50%); }
.gradient { background: linear-gradient(to right, #302f2b, #2f302b); }
Similar colors
#313330Oil#332f2cHoly Crow#2e2e2eCarbon Fibre#333333Carbon#333232Dark Charcoal#2a2a2aThe End#343434Jet Black#262926Bitter Liquorice
Questions
- What color is #302F2B?
- #302F2B is a dark gray, closest to the named color Oil. It belongs to the black family of colors.
- What is the RGB value of #302F2B?
- The RGB value is 48, 47, 43: 48 red, 47 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #302F2B?
- The complementary color is #2B2C30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302F2B?
- White text. Black text has a contrast ratio of 1.57:1 and white text 13.4:1. WCAG asks for at least 4.5:1 for normal text.