HSL(233, 4%, 5%)
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(233,4%,5%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 4%, 5%) | color: hsl(233, 4%, 5%) | |
| HEX | #0C0C0D | color: #0C0C0D | |
| RGB | rgb(12, 12, 13) | color: rgb(12, 12, 13) | |
| CMYK | cmyk(8%, 8%, 0%, 95%) | — | |
| HSV | hsv(240, 8%, 5%) | — | |
| HWB | hwb(240 5% 95%) | color: hwb(240 5% 95%) | |
| OKLCH | oklch(0.1548 0.0021 286.15) | color: oklch(0.1548 0.0021 286.15) | |
| Lab | lab(3.34 0.16 -0.43) | color: lab(3.34 0.16 -0.43) | |
| LCH | lch(3.34 0.46 290.41) | color: lch(3.34 0.46 290.41) |
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)
#0C0C0D — rgb(12, 12, 13)
Deuteranopia (Green-blind)
#0C0C0D — rgb(12, 12, 13)
Tritanopia (Blue-blind)
#0C0D0D — rgb(12, 13, 13)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 4%, 5%);
text
color: hsl(233, 4%, 5%);
border
border: 2px solid hsl(233, 4%, 5%);
gradient light
background: linear-gradient(to right, hsl(233, 4%, 25%), hsl(233, 4%, 5%));
gradient dark
background: linear-gradient(to right, hsl(233, 4%, 5%), hsl(233, 4%, 0%))
hex
background-color: #0C0C0D;
tailwind
bg-[hsl(233,4%,5%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 4%, 5%, 0.4);
css variable
--color-primary: hsl(233, 4%, 5%);
Related Colors
Use Cases for Very Dark Black
Frequently Asked Questions
What are all the color codes for HSL(233, 4%, 5%)?
HEX: #0C0C0D | RGB: rgb(12, 12, 13) | CMYK: 8%, 8%, 0%, 95% | HSV: 240°, 8%, 5%. Copy any format from the conversion table above.
What colors go well with #0C0C0D?
The complementary color is HSL(53, 4%, 5%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 4%, 5%) in CSS?
As HSL: color: hsl(233, 4%, 5%); — As HEX: color: #0C0C0D; — As RGB: color: rgb(12, 12, 13); — Tailwind CSS: bg-[hsl(233,4%,5%)] — CSS variable: --color-primary: hsl(233, 4%, 5%);