#333A37 color
The hex color #333A37 is a dark gray.
In the RGB color model it is made of 20% red, 22.7% green and 21.6% blue (51, 58, 55).
Its hue angle is 154°, with 6% saturation and 21% lightness. For print, the CMYK equivalent is 12% cyan, 0% magenta, 5% 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.66:1).
#333A37 color codes
| HEX | #333A37 | |
|---|---|---|
| RGB | rgb(51, 58, 55) | |
| RGB percent | rgb(20%, 22.7%, 21.6%) | |
| HSL | hsl(154, 6%, 21%) | |
| HSV / HSB | hsv(154, 12%, 23%) | |
| CMYK | cmyk(12%, 0%, 5%, 77%) | |
| CIE LAB | lab(23.69, -3.67, 0.86) | |
| CIE LCH | lch(23.69, 3.77, 166.78) | |
| CIE XYZ | xyz(3.568, 4.006, 4.199) | |
| Decimal | 3357239 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #333A37, 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 #333A37 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.8:1 | Fail | Fail | Fail |
| Sample text | 11.66:1 | Pass | Pass | Pass |
| #333A37 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.66: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 #333A37 looks to people with the most common types of color vision deficiency.
#3a3937Protanopia
no red cones#383837Deuteranopia
no green cones#323a39Tritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #333a37; }
.text { color: #333a37; }
.border { border: 2px solid #333a37; }
.transparent { background-color: rgb(51 58 55 / 50%); }
.gradient { background: linear-gradient(to right, #333a37, #33393a); }
Similar colors
#353935Onyx#2b322dTerminal Black#293432Aztec#2f3434Phantom Ship#353838Wet Concrete#313330Oil#3b3c36Black Olive#3b3f40Tamahagane
Questions
- What color is #333A37?
- #333A37 is a dark gray, closest to the named color Onyx. It belongs to the gray family of colors.
- What is the RGB value of #333A37?
- The RGB value is 51, 58, 55: 51 red, 58 green and 55 blue on a 0 to 255 scale.
- What is the complementary color of #333A37?
- The complementary color is #3A3336, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #333A37?
- White text. Black text has a contrast ratio of 1.8:1 and white text 11.66:1. WCAG asks for at least 4.5:1 for normal text.