HSL(90, 0%, 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(90,0%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(90, 0%, 9%) | color: hsl(90, 0%, 9%) | |
| HEX | #171717 | color: #171717 | |
| RGB | rgb(23, 23, 23) | color: rgb(23, 23, 23) | |
| CMYK | cmyk(0%, 0%, 0%, 91%) | — | |
| HSV | hsv(0, 0%, 9%) | — | |
| HWB | hwb(0 9% 91%) | color: hwb(0 9% 91%) | |
| OKLCH | oklch(0.2046 0 89.88) | color: oklch(0.2046 0 89.88) | |
| Lab | lab(7.74 -0 0) | color: lab(7.74 -0 0) | |
| LCH | lch(7.74 0 180) | color: lch(7.74 0 180) |
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)
#171717 — rgb(23, 23, 23)
Deuteranopia (Green-blind)
#171717 — rgb(23, 23, 23)
Tritanopia (Blue-blind)
#171717 — rgb(23, 23, 23)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(90, 0%, 9%);
text
color: hsl(90, 0%, 9%);
border
border: 2px solid hsl(90, 0%, 9%);
gradient light
background: linear-gradient(to right, hsl(90, 0%, 29%), hsl(90, 0%, 9%));
gradient dark
background: linear-gradient(to right, hsl(90, 0%, 9%), hsl(90, 0%, 0%))
hex
background-color: #171717;
tailwind
bg-[hsl(90,0%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(90, 0%, 9%, 0.4);
css variable
--color-primary: hsl(90, 0%, 9%);
Related Colors
Use Cases for Very Dark Black
Frequently Asked Questions
What are all the color codes for HSL(90, 0%, 9%)?
HEX: #171717 | RGB: rgb(23, 23, 23) | CMYK: 0%, 0%, 0%, 91% | HSV: 0°, 0%, 9%. Copy any format from the conversion table above.
What colors go well with #171717?
The complementary color is HSL(270, 0%, 9%). For a triadic harmony, use hues 90°, 210°, and 330°. For analogous combinations, try hues 60° and 120°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(90, 0%, 9%) in CSS?
As HSL: color: hsl(90, 0%, 9%); — As HEX: color: #171717; — As RGB: color: rgb(23, 23, 23); — Tailwind CSS: bg-[hsl(90,0%,9%)] — CSS variable: --color-primary: hsl(90, 0%, 9%);