HSL(159, 9%, 9%)

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(159,9%,9%)]

Color Conversions

Format Value CSS Usage
HSL hsl(159, 9%, 9%) color: hsl(159, 9%, 9%)
HEX #151918 color: #151918
RGB rgb(21, 25, 24) color: rgb(21, 25, 24)
CMYK cmyk(16%, 0%, 4%, 90%)
HSV hsv(165, 16%, 10%)
HWB hwb(165 8% 90%) color: hwb(165 8% 90%)
OKLCH oklch(0.2088 0.0064 178.97) color: oklch(0.2088 0.0064 178.97)
Lab lab(8.31 -2.17 0.06) color: lab(8.31 -2.17 0.06)
LCH lch(8.31 2.17 178.42) color: lch(8.31 2.17 178.42)

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 17.73:1
vs Black 1.18: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)

#171718 — rgb(23, 23, 24)

Deuteranopia (Green-blind)

#171618 — rgb(23, 22, 24)

Tritanopia (Blue-blind)

#151818 — rgb(21, 24, 24)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(159, 9%, 9%);

text

color: hsl(159, 9%, 9%);

border

border: 2px solid hsl(159, 9%, 9%);

gradient light

background: linear-gradient(to right, hsl(159, 9%, 29%), hsl(159, 9%, 9%));

gradient dark

background: linear-gradient(to right, hsl(159, 9%, 9%), hsl(159, 9%, 0%))

hex

background-color: #151918;

tailwind

bg-[hsl(159,9%,9%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(159, 9%, 9%, 0.4);

css variable

--color-primary: hsl(159, 9%, 9%);

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(159, 9%, 9%)?

HEX: #151918 | RGB: rgb(21, 25, 24) | CMYK: 16%, 0%, 4%, 90% | HSV: 165°, 16%, 10%. Copy any format from the conversion table above.

What colors go well with #151918?

The complementary color is HSL(339, 9%, 9%). For a triadic harmony, use hues 159°, 279°, and 39°. For analogous combinations, try hues 129° and 189°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(159, 9%, 9%) in CSS?

As HSL: color: hsl(159, 9%, 9%); — As HEX: color: #151918; — As RGB: color: rgb(21, 25, 24); — Tailwind CSS: bg-[hsl(159,9%,9%)] — CSS variable: --color-primary: hsl(159, 9%, 9%);