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