#303338 color

#303338 rgb(48, 51, 56)
Shades of gray

The hex color #303338 is a dark gray.

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

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

The closest named color is Vulcan (#36383C), a difference of 1.8 ΔE, which is barely visible.

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

#303338 color codes

HEX#303338
RGBrgb(48, 51, 56)
RGB percentrgb(18.8%, 20%, 22%)
HSLhsl(217, 8%, 20%)
HSV / HSBhsv(217, 14%, 22%)
CMYKcmyk(14%, 9%, 0%, 78%)
CIE LABlab(21.14, -0.04, -3.6)
CIE LCHlch(21.14, 3.6, 269.3)
CIE XYZxyz(3.116, 3.282, 4.21)
Decimal3158840
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Jet Black.

Questions

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