HSL(23, 5%, 10%)
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(23,5%,10%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(23, 5%, 10%) | color: hsl(23, 5%, 10%) | |
| HEX | #1B1918 | color: #1B1918 | |
| RGB | rgb(27, 25, 24) | color: rgb(27, 25, 24) | |
| CMYK | cmyk(0%, 7%, 11%, 89%) | — | |
| HSV | hsv(20, 11%, 11%) | — | |
| HWB | hwb(20 10% 89%) | color: hwb(20 10% 89%) | |
| OKLCH | oklch(0.2153 0.0037 48.55) | color: oklch(0.2153 0.0037 48.55) | |
| Lab | lab(8.94 0.73 1.05) | color: lab(8.94 0.73 1.05) | |
| LCH | lch(8.94 1.28 55.19) | color: lch(8.94 1.28 55.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)
#1A1A18 — rgb(26, 26, 24)
Deuteranopia (Green-blind)
#1A1A18 — rgb(26, 26, 24)
Tritanopia (Blue-blind)
#1B1818 — rgb(27, 24, 24)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(23, 5%, 10%);
text
color: hsl(23, 5%, 10%);
border
border: 2px solid hsl(23, 5%, 10%);
gradient light
background: linear-gradient(to right, hsl(23, 5%, 30%), hsl(23, 5%, 10%));
gradient dark
background: linear-gradient(to right, hsl(23, 5%, 10%), hsl(23, 5%, 0%))
hex
background-color: #1B1918;
tailwind
bg-[hsl(23,5%,10%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(23, 5%, 10%, 0.4);
css variable
--color-primary: hsl(23, 5%, 10%);
Related Colors
Use Cases for Very Dark Black
Frequently Asked Questions
What are all the color codes for HSL(23, 5%, 10%)?
HEX: #1B1918 | RGB: rgb(27, 25, 24) | CMYK: 0%, 7%, 11%, 89% | HSV: 20°, 11%, 11%. Copy any format from the conversion table above.
What colors go well with #1B1918?
The complementary color is HSL(203, 5%, 10%). For a triadic harmony, use hues 23°, 143°, and 263°. For analogous combinations, try hues 353° and 53°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(23, 5%, 10%) in CSS?
As HSL: color: hsl(23, 5%, 10%); — As HEX: color: #1B1918; — As RGB: color: rgb(27, 25, 24); — Tailwind CSS: bg-[hsl(23,5%,10%)] — CSS variable: --color-primary: hsl(23, 5%, 10%);