#303837 color

#303837 rgb(48, 56, 55)
Shades of gray

The hex color #303837 is a dark gray.

In the RGB color model it is made of 18.8% red, 22% green and 21.6% blue (48, 56, 55).

Its hue angle is 173°, with 8% saturation and 20% lightness. For print, the CMYK equivalent is 14% cyan, 0% magenta, 2% yellow and 78% black.

The closest named color is Phantom Ship (#2F3434), a difference of 2.2 ΔE, a small difference.

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

#303837 color codes

HEX#303837
RGBrgb(48, 56, 55)
RGB percentrgb(18.8%, 22%, 21.6%)
HSLhsl(173, 8%, 20%)
HSV / HSBhsv(173, 14%, 22%)
CMYKcmyk(14%, 0%, 2%, 78%)
CIE LABlab(22.77, -3.61, -0.52)
CIE LCHlch(22.77, 3.65, 188.15)
CIE XYZxyz(3.323, 3.732, 4.159)
Decimal3160119
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #303837, 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 #303837RatioAAAAAAA large
Sample text1.75:1FailFailFail
Sample text12.02:1PassPassPass
#303837 as text onRatioAAAAAAA large
Sample text12.02:1PassPassPass
Sample text1.75: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 #303837 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #303837; }
.text { color: #303837; }
.border { border: 2px solid #303837; }
.transparent { background-color: rgb(48 56 55 / 50%); }
.gradient { background: linear-gradient(to right, #303837, #303538); }
Background
Text color
Border

Similar colors

Questions

What color is #303837?
#303837 is a dark gray, closest to the named color Phantom Ship. It belongs to the gray family of colors.
What is the RGB value of #303837?
The RGB value is 48, 56, 55: 48 red, 56 green and 55 blue on a 0 to 255 scale.
What is the complementary color of #303837?
The complementary color is #383031, found by rotating the hue 180° on the color wheel.
Is black or white text better on #303837?
White text. Black text has a contrast ratio of 1.75:1 and white text 12.02:1. WCAG asks for at least 4.5:1 for normal text.