#303A31 color

#303A31 rgb(48, 58, 49)
Shades of gray

The hex color #303A31 is a dark, grayish green.

In the RGB color model it is made of 18.8% red, 22.7% green and 19.2% blue (48, 58, 49).

Its hue angle is 126°, with 9% saturation and 21% lightness. For print, the CMYK equivalent is 17% cyan, 0% magenta, 16% yellow and 77% black.

The closest named color is Terminal Black (#2B322D), a difference of 3.6 ΔE, a small difference.

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

#303A31 color codes

HEX#303A31
RGBrgb(48, 58, 49)
RGB percentrgb(18.8%, 22.7%, 19.2%)
HSLhsl(126, 9%, 21%)
HSV / HSBhsv(126, 17%, 23%)
CMYKcmyk(17%, 0%, 16%, 77%)
CIE LABlab(23.26, -6.33, 4.21)
CIE LCHlch(23.26, 7.6, 146.33)
CIE XYZxyz(3.286, 3.876, 3.48)
Decimal3160625
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #303A31, 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 #303A31RatioAAAAAAA large
Sample text1.78:1FailFailFail
Sample text11.83:1PassPassPass
#303A31 as text onRatioAAAAAAA large
Sample text11.83:1PassPassPass
Sample text1.78: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 #303A31 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #303a31; }
.text { color: #303a31; }
.border { border: 2px solid #303a31; }
.transparent { background-color: rgb(48 58 49 / 50%); }
.gradient { background: linear-gradient(to right, #303a31, #303a36); }
Background
Text color
Border

Similar colors

Questions

What color is #303A31?
#303A31 is a dark, grayish green, closest to the named color Terminal Black. It belongs to the gray family of colors.
What is the RGB value of #303A31?
The RGB value is 48, 58, 49: 48 red, 58 green and 49 blue on a 0 to 255 scale.
What is the complementary color of #303A31?
The complementary color is #3A3039, found by rotating the hue 180° on the color wheel.
Is black or white text better on #303A31?
White text. Black text has a contrast ratio of 1.78:1 and white text 11.83:1. WCAG asks for at least 4.5:1 for normal text.