HSL(262, 2%, 6%)
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,2%,6%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 2%, 6%) | color: hsl(262, 2%, 6%) | |
| HEX | #0F0F10 | color: #0F0F10 | |
| RGB | rgb(15, 15, 16) | color: rgb(15, 15, 16) | |
| CMYK | cmyk(6%, 6%, 0%, 94%) | — | |
| HSV | hsv(240, 6%, 6%) | — | |
| HWB | hwb(240 6% 94%) | color: hwb(240 6% 94%) | |
| OKLCH | oklch(0.1689 0.0021 286.18) | color: oklch(0.1689 0.0021 286.18) | |
| Lab | lab(4.34 0.19 -0.5) | color: lab(4.34 0.19 -0.5) | |
| LCH | lch(4.34 0.53 290.81) | color: lch(4.34 0.53 290.81) |
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)
#0F0F10 — rgb(15, 15, 16)
Deuteranopia (Green-blind)
#0F0F10 — rgb(15, 15, 16)
Tritanopia (Blue-blind)
#0F1010 — rgb(15, 16, 16)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 2%, 6%);
text
color: hsl(262, 2%, 6%);
border
border: 2px solid hsl(262, 2%, 6%);
gradient light
background: linear-gradient(to right, hsl(262, 2%, 26%), hsl(262, 2%, 6%));
gradient dark
background: linear-gradient(to right, hsl(262, 2%, 6%), hsl(262, 2%, 0%))
hex
background-color: #0F0F10;
tailwind
bg-[hsl(262,2%,6%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 2%, 6%, 0.4);
css variable
--color-primary: hsl(262, 2%, 6%);
Related Colors
Use Cases for Very Dark Black
Frequently Asked Questions
What are all the color codes for HSL(262, 2%, 6%)?
HEX: #0F0F10 | RGB: rgb(15, 15, 16) | CMYK: 6%, 6%, 0%, 94% | HSV: 240°, 6%, 6%. Copy any format from the conversion table above.
What colors go well with #0F0F10?
The complementary color is HSL(82, 2%, 6%). 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, 2%, 6%) in CSS?
As HSL: color: hsl(262, 2%, 6%); — As HEX: color: #0F0F10; — As RGB: color: rgb(15, 15, 16); — Tailwind CSS: bg-[hsl(262,2%,6%)] — CSS variable: --color-primary: hsl(262, 2%, 6%);