#393838 color
The hex color #393838 is a dark gray.
In the RGB color model it is made of 22.4% red, 22% green and 22% blue (57, 56, 56).
Its hue angle is 0°, with 1% saturation and 22% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 2% yellow and 78% black.
The closest named color is Graphite (#383838), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.69:1).
#393838 color codes
| HEX | #393838 | |
|---|---|---|
| RGB | rgb(57, 56, 56) | |
| RGB percent | rgb(22.4%, 22%, 22%) | |
| HSL | hsl(0, 1%, 22%) | |
| HSV / HSB | hsv(0, 2%, 22%) | |
| CMYK | cmyk(0%, 2%, 2%, 78%) | |
| CIE LAB | lab(23.62, 0.43, 0.15) | |
| CIE LCH | lch(23.62, 0.46, 19.5) | |
| CIE XYZ | xyz(3.815, 3.984, 4.309) | |
| Decimal | 3749944 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #393838, 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 #393838 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.8:1 | Fail | Fail | Fail |
| Sample text | 11.69:1 | Pass | Pass | Pass |
| #393838 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.69:1 | Pass | Pass | Pass |
| Sample text | 1.8: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 #393838 looks to people with the most common types of color vision deficiency.
#383838Protanopia
no red cones#383838Deuteranopia
no green cones#393838Tritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #393838; }
.text { color: #393838; }
.border { border: 2px solid #393838; }
.transparent { background-color: rgb(57 56 56 / 50%); }
.gradient { background: linear-gradient(to right, #393838, #393938); }
Similar colors
#383838Graphite#383838Lacquered Liquorice#343434Jet Black#3b3b3dCoal Hard Truth#333333Carbon#333232Dark Charcoal#353838Wet Concrete#36383cVulcan
Questions
- What color is #393838?
- #393838 is a dark gray, closest to the named color Graphite. It belongs to the gray family of colors.
- What is the RGB value of #393838?
- The RGB value is 57, 56, 56: 57 red, 56 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #393838?
- The complementary color is #383939, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #393838?
- White text. Black text has a contrast ratio of 1.8:1 and white text 11.69:1. WCAG asks for at least 4.5:1 for normal text.