HSL(230, 7%, 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(230,7%,5%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 7%, 5%) | color: hsl(230, 7%, 5%) | |
| HEX | #0C0C0E | color: #0C0C0E | |
| RGB | rgb(12, 12, 14) | color: rgb(12, 12, 14) | |
| CMYK | cmyk(14%, 14%, 0%, 95%) | — | |
| HSV | hsv(240, 14%, 5%) | — | |
| HWB | hwb(240 4% 95%) | color: hwb(240 4% 95%) | |
| OKLCH | oklch(0.1553 0.0042 285.9) | color: oklch(0.1553 0.0042 285.9) | |
| Lab | lab(3.37 0.33 -0.89) | color: lab(3.37 0.33 -0.89) | |
| LCH | lch(3.37 0.95 290.34) | color: lch(3.37 0.95 290.34) |
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)
#0C0C0E — rgb(12, 12, 14)
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(230, 7%, 5%);
text
color: hsl(230, 7%, 5%);
border
border: 2px solid hsl(230, 7%, 5%);
gradient light
background: linear-gradient(to right, hsl(230, 7%, 25%), hsl(230, 7%, 5%));
gradient dark
background: linear-gradient(to right, hsl(230, 7%, 5%), hsl(230, 7%, 0%))
hex
background-color: #0C0C0E;
tailwind
bg-[hsl(230,7%,5%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 7%, 5%, 0.4);
css variable
--color-primary: hsl(230, 7%, 5%);
Related Colors
Use Cases for Very Dark Black
Frequently Asked Questions
What are all the color codes for HSL(230, 7%, 5%)?
HEX: #0C0C0E | RGB: rgb(12, 12, 14) | CMYK: 14%, 14%, 0%, 95% | HSV: 240°, 14%, 5%. Copy any format from the conversion table above.
What colors go well with #0C0C0E?
The complementary color is HSL(50, 7%, 5%). For a triadic harmony, use hues 230°, 350°, and 110°. For analogous combinations, try hues 200° and 260°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(230, 7%, 5%) in CSS?
As HSL: color: hsl(230, 7%, 5%); — As HEX: color: #0C0C0E; — As RGB: color: rgb(12, 12, 14); — Tailwind CSS: bg-[hsl(230,7%,5%)] — CSS variable: --color-primary: hsl(230, 7%, 5%);