Toolman

#333333 color

#333333#333333

#333333 is a dark, desaturated grey, closest to the CSS named color darkslategray (#2F4F4F).

Color values

HEX#333333
RGBrgb(51, 51, 51)
HSLhsl(0, 0%, 20%)
CMYKcmyk(0%, 0%, 0%, 80%)
Decimal3355443
CSScolor: #333333;
Android0xFF333333
SwiftUIColor(red: 0.200, green: 0.200, blue: 0.200, alpha: 1)

Accessibility and contrast

White text on #33333312.63:1 — AA pass · AA large pass · AAA pass
Black text on #3333331.66:1 — AA fail · AA large fail · AAA fail
Recommended text colorwhite

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #333333

Each swatch keeps the hue and saturation of #333333 and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #333333

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #333333 in code

/* CSS */
.element { color: #333333; background-color: #333333; }
.element { color: rgb(51 51 51); }
.element { color: hsl(0 0% 20%); }

/* Tailwind arbitrary value */
<div class="bg-[#333333] text-white">

/* SCSS variable */
$brand: #333333;

Frequently asked questions

What color is #333333?

#333333 is a dark, desaturated grey. Its hue sits at 0° on the color wheel, with 0% saturation and 20% lightness.

What is #333333 in RGB?

#333333 converts to rgb(51, 51, 51) — 51 red, 51 green and 51 blue.

What is #333333 in CMYK?

Approximately cmyk(0%, 0%, 0%, 80%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #333333 be white or black?

White gives the better contrast ratio (12.63:1 versus 1.66:1).

What is the complementary color of #333333?

#333333 — the hue directly opposite #333333 on the color wheel.

Convert any color → · Browse all colors