#302F33 color
The hex color #302F33 is a dark gray.
In the RGB color model it is made of 18.8% red, 18.4% green and 20% blue (48, 47, 51).
Its hue angle is 255°, with 4% saturation and 19% lightness. For print, the CMYK equivalent is 6% cyan, 8% magenta, 0% yellow and 80% black.
The closest named color is Caviar (#2B2C30), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.29:1).
#302F33 color codes
| HEX | #302F33 | |
|---|---|---|
| RGB | rgb(48, 47, 51) | |
| RGB percent | rgb(18.8%, 18.4%, 20%) | |
| HSL | hsl(255, 4%, 19%) | |
| HSV / HSB | hsv(255, 8%, 20%) | |
| CMYK | cmyk(6%, 8%, 0%, 80%) | |
| CIE LAB | lab(19.64, 1.4, -2.4) | |
| CIE LCH | lch(19.64, 2.77, 300.32) | |
| CIE XYZ | xyz(2.833, 2.9, 3.542) | |
| Decimal | 3157811 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302F33, 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 #302F33 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.58:1 | Fail | Fail | Fail |
| Sample text | 13.29:1 | Pass | Pass | Pass |
| #302F33 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.29: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 #302F33 looks to people with the most common types of color vision deficiency.
#2e3033Protanopia
no red cones#2e2f33Deuteranopia
no green cones#303030Tritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #302f33; }
.text { color: #302f33; }
.border { border: 2px solid #302f33; }
.transparent { background-color: rgb(48 47 51 / 50%); }
.gradient { background: linear-gradient(to right, #302f33, #322f33); }
Similar colors
#2b2c30Caviar#29292fJaguar#28282dAnthracite#292b31Night Sky#333232Dark Charcoal#2e2e2eCarbon Fibre#333333Carbon#332e2eNight Rider
Closest common color name: Jet Black.
Questions
- What color is #302F33?
- #302F33 is a dark gray, closest to the named color Caviar. It belongs to the black family of colors.
- What is the RGB value of #302F33?
- The RGB value is 48, 47, 51: 48 red, 47 green and 51 blue on a 0 to 255 scale.
- What is the complementary color of #302F33?
- The complementary color is #32332F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302F33?
- White text. Black text has a contrast ratio of 1.58:1 and white text 13.29:1. WCAG asks for at least 4.5:1 for normal text.