#303837 color
The hex color #303837 is a dark gray.
In the RGB color model it is made of 18.8% red, 22% green and 21.6% blue (48, 56, 55).
Its hue angle is 173°, with 8% saturation and 20% lightness. For print, the CMYK equivalent is 14% cyan, 0% magenta, 2% yellow and 78% black.
The closest named color is Phantom Ship (#2F3434), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.02:1).
#303837 color codes
| HEX | #303837 | |
|---|---|---|
| RGB | rgb(48, 56, 55) | |
| RGB percent | rgb(18.8%, 22%, 21.6%) | |
| HSL | hsl(173, 8%, 20%) | |
| HSV / HSB | hsv(173, 14%, 22%) | |
| CMYK | cmyk(14%, 0%, 2%, 78%) | |
| CIE LAB | lab(22.77, -3.61, -0.52) | |
| CIE LCH | lch(22.77, 3.65, 188.15) | |
| CIE XYZ | xyz(3.323, 3.732, 4.159) | |
| Decimal | 3160119 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #303837, 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 #303837 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.75:1 | Fail | Fail | Fail |
| Sample text | 12.02:1 | Pass | Pass | Pass |
| #303837 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.02:1 | Pass | Pass | Pass |
| Sample text | 1.75: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 #303837 looks to people with the most common types of color vision deficiency.
#373737Protanopia
no red cones#353637Deuteranopia
no green cones#2e3838Tritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #303837; }
.text { color: #303837; }
.border { border: 2px solid #303837; }
.transparent { background-color: rgb(48 56 55 / 50%); }
.gradient { background: linear-gradient(to right, #303837, #303538); }
Similar colors
#2f3434Phantom Ship#293432Aztec#353935Onyx#353838Wet Concrete#2b322dTerminal Black#313330Oil#3b3f40Tamahagane#2a3439Gunmetal
Questions
- What color is #303837?
- #303837 is a dark gray, closest to the named color Phantom Ship. It belongs to the gray family of colors.
- What is the RGB value of #303837?
- The RGB value is 48, 56, 55: 48 red, 56 green and 55 blue on a 0 to 255 scale.
- What is the complementary color of #303837?
- The complementary color is #383031, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #303837?
- White text. Black text has a contrast ratio of 1.75:1 and white text 12.02:1. WCAG asks for at least 4.5:1 for normal text.