#38383D color
The hex color #38383D is a dark gray.
In the RGB color model it is made of 22% red, 22% green and 23.9% blue (56, 56, 61).
Its hue angle is 240°, with 4% saturation and 23% lightness. For print, the CMYK equivalent is 8% cyan, 8% magenta, 0% yellow and 76% black.
The closest named color is After Midnight (#38393F), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.66:1).
#38383D color codes
| HEX | #38383D | |
|---|---|---|
| RGB | rgb(56, 56, 61) | |
| RGB percent | rgb(22%, 22%, 23.9%) | |
| HSL | hsl(240, 4%, 23%) | |
| HSV / HSB | hsv(240, 8%, 24%) | |
| CMYK | cmyk(8%, 8%, 0%, 76%) | |
| CIE LAB | lab(23.69, 1.18, -3.1) | |
| CIE LCH | lch(23.69, 3.32, 290.89) | |
| CIE XYZ | xyz(3.887, 4.006, 4.982) | |
| Decimal | 3684413 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #38383D, 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 #38383D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.8:1 | Fail | Fail | Fail |
| Sample text | 11.66:1 | Pass | Pass | Pass |
| #38383D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.66: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 #38383D looks to people with the most common types of color vision deficiency.
#37393dProtanopia
no red cones#37383dDeuteranopia
no green cones#37393aTritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #38383d; }
.text { color: #38383d; }
.border { border: 2px solid #38383d; }
.transparent { background-color: rgb(56 56 61 / 50%); }
.gradient { background: linear-gradient(to right, #38383d, #3b383d); }
Similar colors
#38393fAfter Midnight#37393eArtist’s Charcoal#3b3c41In the Dark#36383cVulcan#3c393dMoonless Night#3b3b3dCoal Hard Truth#3f3c43Tuxedo#363b43Do Not Disturb
Closest common color name: Graphite.
Questions
- What color is #38383D?
- #38383D is a dark gray, closest to the named color After Midnight. It belongs to the gray family of colors.
- What is the RGB value of #38383D?
- The RGB value is 56, 56, 61: 56 red, 56 green and 61 blue on a 0 to 255 scale.
- What is the complementary color of #38383D?
- The complementary color is #3D3D38, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #38383D?
- White text. Black text has a contrast ratio of 1.8:1 and white text 11.66:1. WCAG asks for at least 4.5:1 for normal text.