#333A36 color
The hex color #333A36 is a dark gray.
In the RGB color model it is made of 20% red, 22.7% green and 21.2% blue (51, 58, 54).
Its hue angle is 146°, with 6% saturation and 21% lightness. For print, the CMYK equivalent is 12% cyan, 0% magenta, 7% yellow and 77% black.
The closest named color is Onyx (#353935), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.67:1).
#333A36 color codes
| HEX | #333A36 | |
|---|---|---|
| RGB | rgb(51, 58, 54) | |
| RGB percent | rgb(20%, 22.7%, 21.2%) | |
| HSL | hsl(146, 6%, 21%) | |
| HSV / HSB | hsv(146, 12%, 23%) | |
| CMYK | cmyk(12%, 0%, 7%, 77%) | |
| CIE LAB | lab(23.66, -3.9, 1.48) | |
| CIE LCH | lch(23.66, 4.18, 159.18) | |
| CIE XYZ | xyz(3.544, 3.996, 4.074) | |
| Decimal | 3357238 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #333A36, 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 #333A36 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.8:1 | Fail | Fail | Fail |
| Sample text | 11.67:1 | Pass | Pass | Pass |
| #333A36 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.67:1 | Pass | Pass | Pass |
| Sample text | 1.8: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 #333A36 looks to people with the most common types of color vision deficiency.
#3a3936Protanopia
no red cones#383836Deuteranopia
no green cones#323a39Tritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #333a36; }
.text { color: #333a36; }
.border { border: 2px solid #333a36; }
.transparent { background-color: rgb(51 58 54 / 50%); }
.gradient { background: linear-gradient(to right, #333a36, #333a39); }
Similar colors
#353935Onyx#2b322dTerminal Black#293432Aztec#2f3434Phantom Ship#313330Oil#3b3c36Black Olive#353838Wet Concrete#3b3f40Tamahagane
Questions
- What color is #333A36?
- #333A36 is a dark gray, closest to the named color Onyx. It belongs to the gray family of colors.
- What is the RGB value of #333A36?
- The RGB value is 51, 58, 54: 51 red, 58 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #333A36?
- The complementary color is #3A3337, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #333A36?
- White text. Black text has a contrast ratio of 1.8:1 and white text 11.67:1. WCAG asks for at least 4.5:1 for normal text.