#333B3A color
The hex color #333B3A is a dark gray.
In the RGB color model it is made of 20% red, 23.1% green and 22.7% blue (51, 59, 58).
Its hue angle is 172°, with 7% saturation and 22% lightness. For print, the CMYK equivalent is 14% cyan, 0% magenta, 2% yellow and 77% black.
The closest named color is Onyx (#353935), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.49:1).
#333B3A color codes
| HEX | #333B3A | |
|---|---|---|
| RGB | rgb(51, 59, 58) | |
| RGB percent | rgb(20%, 23.1%, 22.7%) | |
| HSL | hsl(172, 7%, 22%) | |
| HSV / HSB | hsv(172, 14%, 23%) | |
| CMYK | cmyk(14%, 0%, 2%, 77%) | |
| CIE LAB | lab(24.12, -3.58, -0.52) | |
| CIE LCH | lch(24.12, 3.62, 188.19) | |
| CIE XYZ | xyz(3.693, 4.137, 4.606) | |
| Decimal | 3357498 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #333B3A, 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 #333B3A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.83:1 | Fail | Fail | Fail |
| Sample text | 11.49:1 | Pass | Pass | Pass |
| #333B3A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.49:1 | Pass | Pass | Pass |
| Sample text | 1.83: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 #333B3A looks to people with the most common types of color vision deficiency.
#3a3a3aProtanopia
no red cones#38393aDeuteranopia
no green cones#313b3bTritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #333b3a; }
.text { color: #333b3a; }
.border { border: 2px solid #333b3a; }
.transparent { background-color: rgb(51 59 58 / 50%); }
.gradient { background: linear-gradient(to right, #333b3a, #33383b); }
Similar colors
#353935Onyx#2f3434Phantom Ship#353838Wet Concrete#293432Aztec#3b3f40Tamahagane#2b322dTerminal Black#313330Oil#3e4244Metropolitan Silhouette
Questions
- What color is #333B3A?
- #333B3A is a dark gray, closest to the named color Onyx. It belongs to the gray family of colors.
- What is the RGB value of #333B3A?
- The RGB value is 51, 59, 58: 51 red, 59 green and 58 blue on a 0 to 255 scale.
- What is the complementary color of #333B3A?
- The complementary color is #3B3334, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #333B3A?
- White text. Black text has a contrast ratio of 1.83:1 and white text 11.49:1. WCAG asks for at least 4.5:1 for normal text.