#302F2F color

#302F2F rgb(48, 47, 47)
Shades of black

The hex color #302F2F is a dark gray.

In the RGB color model it is made of 18.8% red, 18.4% green and 18.4% blue (48, 47, 47).

Its hue angle is 0°, with 1% saturation and 19% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 2% yellow and 81% black.

The closest named color is Carbon Fibre (#2E2E2E), a difference of 0.8 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 13.35:1).

#302F2F color codes

HEX#302F2F
RGBrgb(48, 47, 47)
RGB percentrgb(18.8%, 18.4%, 18.4%)
HSLhsl(0, 1%, 19%)
HSV / HSBhsv(0, 2%, 19%)
CMYKcmyk(0%, 2%, 2%, 81%)
CIE LABlab(19.5, 0.44, 0.16)
CIE LCHlch(19.5, 0.47, 19.51)
CIE XYZxyz(2.748, 2.867, 3.097)
Decimal3157807
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #302F2F, 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 #302F2FRatioAAAAAAA large
Sample text1.57:1FailFailFail
Sample text13.35:1PassPassPass
#302F2F as text onRatioAAAAAAA large
Sample text13.35:1PassPassPass
Sample text1.57:1FailFailFail

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 #302F2F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #302f2f; }
.text { color: #302f2f; }
.border { border: 2px solid #302f2f; }
.transparent { background-color: rgb(48 47 47 / 50%); }
.gradient { background: linear-gradient(to right, #302f2f, #30302f); }
Background
Text color
Border

Similar colors

Questions

What color is #302F2F?
#302F2F is a dark gray, closest to the named color Carbon Fibre. It belongs to the black family of colors.
What is the RGB value of #302F2F?
The RGB value is 48, 47, 47: 48 red, 47 green and 47 blue on a 0 to 255 scale.
What is the complementary color of #302F2F?
The complementary color is #2F3030, found by rotating the hue 180° on the color wheel.
Is black or white text better on #302F2F?
White text. Black text has a contrast ratio of 1.57:1 and white text 13.35:1. WCAG asks for at least 4.5:1 for normal text.