HSL(57, 2%, 9%)
Very Dark Black — Black color
Adjust Color
Color Information
Color Name
Very Dark Black
Color Family
Black
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(57,2%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 2%, 9%) | color: hsl(57, 2%, 9%) | |
| HEX | #171716 | color: #171716 | |
| RGB | rgb(23, 23, 22) | color: rgb(23, 23, 22) | |
| CMYK | cmyk(0%, 0%, 4%, 91%) | — | |
| HSV | hsv(60, 4%, 9%) | — | |
| HWB | hwb(60 9% 91%) | color: hwb(60 9% 91%) | |
| OKLCH | oklch(0.2042 0.0019 106.57) | color: oklch(0.2042 0.0019 106.57) | |
| Lab | lab(7.7 -0.25 0.68) | color: lab(7.7 -0.25 0.68) | |
| LCH | lch(7.7 0.72 110.19) | color: lch(7.7 0.72 110.19) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#171716 — rgb(23, 23, 22)
Deuteranopia (Green-blind)
#171716 — rgb(23, 23, 22)
Tritanopia (Blue-blind)
#171616 — rgb(23, 22, 22)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 2%, 9%);
text
color: hsl(57, 2%, 9%);
border
border: 2px solid hsl(57, 2%, 9%);
gradient light
background: linear-gradient(to right, hsl(57, 2%, 29%), hsl(57, 2%, 9%));
gradient dark
background: linear-gradient(to right, hsl(57, 2%, 9%), hsl(57, 2%, 0%))
hex
background-color: #171716;
tailwind
bg-[hsl(57,2%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 2%, 9%, 0.4);
css variable
--color-primary: hsl(57, 2%, 9%);
Related Colors
Use Cases for Very Dark Black
Frequently Asked Questions
What are all the color codes for HSL(57, 2%, 9%)?
HEX: #171716 | RGB: rgb(23, 23, 22) | CMYK: 0%, 0%, 4%, 91% | HSV: 60°, 4%, 9%. Copy any format from the conversion table above.
What colors go well with #171716?
The complementary color is HSL(237, 2%, 9%). For a triadic harmony, use hues 57°, 177°, and 297°. For analogous combinations, try hues 27° and 87°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(57, 2%, 9%) in CSS?
As HSL: color: hsl(57, 2%, 9%); — As HEX: color: #171716; — As RGB: color: rgb(23, 23, 22); — Tailwind CSS: bg-[hsl(57,2%,9%)] — CSS variable: --color-primary: hsl(57, 2%, 9%);