#303338 color
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 | |
|---|---|---|
| RGB | rgb(48, 51, 56) | |
| RGB percent | rgb(18.8%, 20%, 22%) | |
| HSL | hsl(217, 8%, 20%) | |
| HSV / HSB | hsv(217, 14%, 22%) | |
| CMYK | cmyk(14%, 9%, 0%, 78%) | |
| CIE LAB | lab(21.14, -0.04, -3.6) | |
| CIE LCH | lch(21.14, 3.6, 269.3) | |
| CIE XYZ | xyz(3.116, 3.282, 4.21) | |
| Decimal | 3158840 | |
| Short hex | None (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 #303338 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.66:1 | Fail | Fail | Fail |
| Sample text | 12.68:1 | Pass | Pass | Pass |
| #303338 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.68:1 | Pass | Pass | Pass |
| Sample text | 1.66: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 #303338 looks to people with the most common types of color vision deficiency.
#313338Protanopia
no red cones#313238Deuteranopia
no green cones#2e3435Tritanopia
no blue cones#333333Achromatopsia
no color vision
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); }
Similar colors
#36383cVulcan#37393eArtist’s Charcoal#2b2c30Caviar#38393fAfter Midnight#292b31Night Sky#363b43Do Not Disturb#293135Nightmare Fuel#3b3c41In the Dark
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.