#383B40 color
The hex color #383B40 is a dark gray.
In the RGB color model it is made of 22% red, 23.1% green and 25.1% blue (56, 59, 64).
Its hue angle is 217°, with 7% saturation and 24% lightness. For print, the CMYK equivalent is 13% cyan, 8% magenta, 0% yellow and 75% black.
The closest named color is Artist’s Charcoal (#37393E), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.24:1).
#383B40 color codes
| HEX | #383B40 | |
|---|---|---|
| RGB | rgb(56, 59, 64) | |
| RGB percent | rgb(22%, 23.1%, 25.1%) | |
| HSL | hsl(217, 7%, 24%) | |
| HSV / HSB | hsv(217, 13%, 25%) | |
| CMYK | cmyk(13%, 8%, 0%, 75%) | |
| CIE LAB | lab(24.76, -0.05, -3.52) | |
| CIE LCH | lch(24.76, 3.52, 269.11) | |
| CIE XYZ | xyz(4.12, 4.339, 5.47) | |
| Decimal | 3685184 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #383B40, 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 #383B40 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.87:1 | Fail | Fail | Fail |
| Sample text | 11.24:1 | Pass | Pass | Pass |
| #383B40 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.24:1 | Pass | Pass | Pass |
| Sample text | 1.87: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 #383B40 looks to people with the most common types of color vision deficiency.
#393b40Protanopia
no red cones#393a40Deuteranopia
no green cones#363c3dTritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #383b40; }
.text { color: #383b40; }
.border { border: 2px solid #383b40; }
.transparent { background-color: rgb(56 59 64 / 50%); }
.gradient { background: linear-gradient(to right, #383b40, #393840); }
Similar colors
#37393eArtist’s Charcoal#36383cVulcan#3b3c41In the Dark#38393fAfter Midnight#363b43Do Not Disturb#3b3b3dCoal Hard Truth#3b3f40Tamahagane#3e4244Metropolitan Silhouette
Closest common color name: Graphite.
Questions
- What color is #383B40?
- #383B40 is a dark gray, closest to the named color Artist’s Charcoal. It belongs to the gray family of colors.
- What is the RGB value of #383B40?
- The RGB value is 56, 59, 64: 56 red, 59 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #383B40?
- The complementary color is #403D38, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #383B40?
- White text. Black text has a contrast ratio of 1.87:1 and white text 11.24:1. WCAG asks for at least 4.5:1 for normal text.