#30302A color
The hex color #30302A is a dark gray.
In the RGB color model it is made of 18.8% red, 18.8% green and 16.5% blue (48, 48, 42).
Its hue angle is 60°, with 7% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 13% 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.28:1).
#30302A color codes
| HEX | #30302A | |
|---|---|---|
| RGB | rgb(48, 48, 42) | |
| RGB percent | rgb(18.8%, 18.8%, 16.5%) | |
| HSL | hsl(60, 7%, 18%) | |
| HSV / HSB | hsv(60, 13%, 19%) | |
| CMYK | cmyk(0%, 0%, 13%, 81%) | |
| CIE LAB | lab(19.68, -1.34, 3.85) | |
| CIE LCH | lch(19.68, 4.08, 109.18) | |
| CIE XYZ | xyz(2.694, 2.909, 2.61) | |
| Decimal | 3158058 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #30302A, 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 #30302A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.58:1 | Fail | Fail | Fail |
| Sample text | 13.28:1 | Pass | Pass | Pass |
| #30302A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.28:1 | Pass | Pass | Pass |
| Sample text | 1.58: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 #30302A looks to people with the most common types of color vision deficiency.
#312f2aProtanopia
no red cones#31302aDeuteranopia
no green cones#312f2eTritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #30302a; }
.text { color: #30302a; }
.border { border: 2px solid #30302a; }
.transparent { background-color: rgb(48 48 42 / 50%); }
.gradient { background: linear-gradient(to right, #30302a, #2d302a); }
Similar colors
#313330Oil#2b2e26Marshland#262926Bitter Liquorice#353935Onyx#332f2cHoly Crow#3b3c36Black Olive#2e2e2eCarbon Fibre#2b322dTerminal Black
Questions
- What color is #30302A?
- #30302A is a dark gray, closest to the named color Oil. It belongs to the black family of colors.
- What is the RGB value of #30302A?
- The RGB value is 48, 48, 42: 48 red, 48 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #30302A?
- The complementary color is #2A2A30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #30302A?
- White text. Black text has a contrast ratio of 1.58:1 and white text 13.28:1. WCAG asks for at least 4.5:1 for normal text.