HSL(186, 2%, 13%)

Very Dark Black — Black color

Adjust Color

Color Information

Color Name

Very Dark Black

Color Family

Black

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(186,2%,13%)]

Color Conversions

Format Value CSS Usage
HSL hsl(186, 2%, 13%) color: hsl(186, 2%, 13%)
HEX #202222 color: #202222
RGB rgb(32, 34, 34) color: rgb(32, 34, 34)
CMYK cmyk(6%, 0%, 0%, 87%)
HSV hsv(180, 6%, 13%)
HWB hwb(180 12% 87%) color: hwb(180 12% 87%)
OKLCH oklch(0.2499 0.003 196.97) color: oklch(0.2499 0.003 196.97)
Lab lab(13.03 -0.92 -0.32) color: lab(13.03 -0.92 -0.32)
LCH lch(13.03 0.97 199.18) color: lch(13.03 0.97 199.18)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 15.99:1
vs Black 1.31:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#212122 — rgb(33, 33, 34)

Deuteranopia (Green-blind)

#212122 — rgb(33, 33, 34)

Tritanopia (Blue-blind)

#202222 — rgb(32, 34, 34)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(186, 2%, 13%);

text

color: hsl(186, 2%, 13%);

border

border: 2px solid hsl(186, 2%, 13%);

gradient light

background: linear-gradient(to right, hsl(186, 2%, 33%), hsl(186, 2%, 13%));

gradient dark

background: linear-gradient(to right, hsl(186, 2%, 13%), hsl(186, 2%, 0%))

hex

background-color: #202222;

tailwind

bg-[hsl(186,2%,13%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(186, 2%, 13%, 0.4);

css variable

--color-primary: hsl(186, 2%, 13%);

Related Colors

Use Cases for Very Dark Black

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(186, 2%, 13%)?

HEX: #202222 | RGB: rgb(32, 34, 34) | CMYK: 6%, 0%, 0%, 87% | HSV: 180°, 6%, 13%. Copy any format from the conversion table above.

What colors go well with #202222?

The complementary color is HSL(6, 2%, 13%). For a triadic harmony, use hues 186°, 306°, and 66°. For analogous combinations, try hues 156° and 216°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(186, 2%, 13%) in CSS?

As HSL: color: hsl(186, 2%, 13%); — As HEX: color: #202222; — As RGB: color: rgb(32, 34, 34); — Tailwind CSS: bg-[hsl(186,2%,13%)] — CSS variable: --color-primary: hsl(186, 2%, 13%);