#303834 color
The hex color #303834 is a dark gray.
In the RGB color model it is made of 18.8% red, 22% green and 20.4% blue (48, 56, 52).
Its hue angle is 150°, with 8% saturation and 20% lightness. For print, the CMYK equivalent is 14% cyan, 0% magenta, 7% yellow and 78% black.
The closest named color is Terminal Black (#2B322D), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.06:1).
#303834 color codes
| HEX | #303834 | |
|---|---|---|
| RGB | rgb(48, 56, 52) | |
| RGB percent | rgb(18.8%, 22%, 20.4%) | |
| HSL | hsl(150, 8%, 20%) | |
| HSV / HSB | hsv(150, 14%, 22%) | |
| CMYK | cmyk(14%, 0%, 7%, 78%) | |
| CIE LAB | lab(22.67, -4.35, 1.36) | |
| CIE LCH | lch(22.67, 4.55, 162.62) | |
| CIE XYZ | xyz(3.253, 3.705, 3.792) | |
| Decimal | 3160116 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #303834, 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 #303834 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.74:1 | Fail | Fail | Fail |
| Sample text | 12.06:1 | Pass | Pass | Pass |
| #303834 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.06:1 | Pass | Pass | Pass |
| Sample text | 1.74: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 #303834 looks to people with the most common types of color vision deficiency.
#383734Protanopia
no red cones#363634Deuteranopia
no green cones#2f3837Tritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #303834; }
.text { color: #303834; }
.border { border: 2px solid #303834; }
.transparent { background-color: rgb(48 56 52 / 50%); }
.gradient { background: linear-gradient(to right, #303834, #303838); }
Similar colors
#2b322dTerminal Black#293432Aztec#353935Onyx#2f3434Phantom Ship#313330Oil#353838Wet Concrete#3b3c36Black Olive#2b2e26Marshland
Questions
- What color is #303834?
- #303834 is a dark gray, closest to the named color Terminal Black. It belongs to the gray family of colors.
- What is the RGB value of #303834?
- The RGB value is 48, 56, 52: 48 red, 56 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #303834?
- The complementary color is #383034, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #303834?
- White text. Black text has a contrast ratio of 1.74:1 and white text 12.06:1. WCAG asks for at least 4.5:1 for normal text.