HSL(288, 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(288,2%,13%)]

Color Conversions

Format Value CSS Usage
HSL hsl(288, 2%, 13%) color: hsl(288, 2%, 13%)
HEX #222022 color: #222022
RGB rgb(34, 32, 34) color: rgb(34, 32, 34)
CMYK cmyk(0%, 6%, 0%, 87%)
HSV hsv(300, 6%, 13%)
HWB hwb(300 12% 87%) color: hwb(300 12% 87%)
OKLCH oklch(0.2465 0.0048 325.72) color: oklch(0.2465 0.0048 325.72)
Lab lab(12.54 1.43 -1.01) color: lab(12.54 1.43 -1.01)
LCH lch(12.54 1.75 324.77) color: lch(12.54 1.75 324.77)

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 16.18:1
vs Black 1.3: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)

#212121 — rgb(33, 33, 33)

Tritanopia (Blue-blind)

#222121 — rgb(34, 33, 33)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #222022;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(288, 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(288, 2%, 13%)?

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

What colors go well with #222022?

The complementary color is HSL(108, 2%, 13%). For a triadic harmony, use hues 288°, 48°, and 168°. For analogous combinations, try hues 258° and 318°. See the Color Harmony section above for complete palettes with previews.

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

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