#393B38 color
The hex color #393B38 is a dark gray.
In the RGB color model it is made of 22.4% red, 23.1% green and 22% blue (57, 59, 56).
Its hue angle is 100°, with 3% saturation and 23% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 5% yellow and 77% black.
The closest named color is Onyx (#353935), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.31:1).
#393B38 color codes
| HEX | #393B38 | |
|---|---|---|
| RGB | rgb(57, 59, 56) | |
| RGB percent | rgb(22.4%, 23.1%, 22%) | |
| HSL | hsl(100, 3%, 23%) | |
| HSV / HSB | hsv(100, 5%, 23%) | |
| CMYK | cmyk(3%, 0%, 5%, 77%) | |
| CIE LAB | lab(24.59, -1.53, 1.56) | |
| CIE LCH | lch(24.59, 2.19, 134.49) | |
| CIE XYZ | xyz(3.965, 4.283, 4.358) | |
| Decimal | 3750712 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #393B38, 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 #393B38 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.86:1 | Fail | Fail | Fail |
| Sample text | 11.31:1 | Pass | Pass | Pass |
| #393B38 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.31:1 | Pass | Pass | Pass |
| Sample text | 1.86: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 #393B38 looks to people with the most common types of color vision deficiency.
#3b3a38Protanopia
no red cones#3b3a38Deuteranopia
no green cones#393b3aTritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #393b38; }
.text { color: #393b38; }
.border { border: 2px solid #393b38; }
.transparent { background-color: rgb(57 59 56 / 50%); }
.gradient { background: linear-gradient(to right, #393b38, #383b39); }
Similar colors
#353935Onyx#3b3c36Black Olive#353838Wet Concrete#313330Oil#383838Graphite#383838Lacquered Liquorice#3b3f40Tamahagane#424443Vulcanised
Questions
- What color is #393B38?
- #393B38 is a dark gray, closest to the named color Onyx. It belongs to the gray family of colors.
- What is the RGB value of #393B38?
- The RGB value is 57, 59, 56: 57 red, 59 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #393B38?
- The complementary color is #3A383B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #393B38?
- White text. Black text has a contrast ratio of 1.86:1 and white text 11.31:1. WCAG asks for at least 4.5:1 for normal text.