#38363A color
The hex color #38363A is a dark gray.
In the RGB color model it is made of 22% red, 21.2% green and 22.7% blue (56, 54, 58).
Its hue angle is 270°, with 4% saturation and 22% lightness. For print, the CMYK equivalent is 3% cyan, 7% magenta, 0% yellow and 77% black.
The closest named color is Moonless Night (#3C393D), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.95:1).
#38363A color codes
| HEX | #38363A | |
|---|---|---|
| RGB | rgb(56, 54, 58) | |
| RGB percent | rgb(22%, 21.2%, 22.7%) | |
| HSL | hsl(270, 4%, 22%) | |
| HSV / HSB | hsv(270, 7%, 23%) | |
| CMYK | cmyk(3%, 7%, 0%, 77%) | |
| CIE LAB | lab(22.95, 1.79, -2.19) | |
| CIE LCH | lch(22.95, 2.83, 309.33) | |
| CIE XYZ | xyz(3.714, 3.785, 4.537) | |
| Decimal | 3683898 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #38363A, 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 #38363A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.76:1 | Fail | Fail | Fail |
| Sample text | 11.95:1 | Pass | Pass | Pass |
| #38363A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.95:1 | Pass | Pass | Pass |
| Sample text | 1.76: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 #38363A looks to people with the most common types of color vision deficiency.
#35373aProtanopia
no red cones#36373aDeuteranopia
no green cones#383637Tritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #38363a; }
.text { color: #38363a; }
.border { border: 2px solid #38363a; }
.transparent { background-color: rgb(56 54 58 / 50%); }
.gradient { background: linear-gradient(to right, #38363a, #3a363a); }
Similar colors
#3c393dMoonless Night#38393fAfter Midnight#3b3b3dCoal Hard Truth#37393eArtist’s Charcoal#3b3c41In the Dark#36383cVulcan#3f3c43Tuxedo#333232Dark Charcoal
Closest common color name: Graphite.
Questions
- What color is #38363A?
- #38363A is a dark gray, closest to the named color Moonless Night. It belongs to the gray family of colors.
- What is the RGB value of #38363A?
- The RGB value is 56, 54, 58: 56 red, 54 green and 58 blue on a 0 to 255 scale.
- What is the complementary color of #38363A?
- The complementary color is #383A36, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #38363A?
- White text. Black text has a contrast ratio of 1.76:1 and white text 11.95:1. WCAG asks for at least 4.5:1 for normal text.