HSL(185, 40%, 8%)
Very Dark Cyan — Cyan color
Adjust Color
Color Information
Color Name
Very Dark Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(185,40%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(185, 40%, 8%) | color: hsl(185, 40%, 8%) | |
| HEX | #0C1B1D | color: #0C1B1D | |
| RGB | rgb(12, 27, 29) | color: rgb(12, 27, 29) | |
| CMYK | cmyk(59%, 7%, 0%, 89%) | — | |
| HSV | hsv(187, 59%, 11%) | — | |
| HWB | hwb(187 5% 89%) | color: hwb(187 5% 89%) | |
| OKLCH | oklch(0.2097 0.0209 206.57) | color: oklch(0.2097 0.0209 206.57) | |
| Lab | lab(8.57 -5.61 -3.41) | color: lab(8.57 -5.61 -3.41) | |
| LCH | lch(8.57 6.57 211.29) | color: lch(8.57 6.57 211.29) |
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)
#12131D — rgb(18, 19, 29)
Deuteranopia (Green-blind)
#12111C — rgb(18, 17, 28)
Tritanopia (Blue-blind)
#0D1C1C — rgb(13, 28, 28)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(185, 40%, 8%);
text
color: hsl(185, 40%, 8%);
border
border: 2px solid hsl(185, 40%, 8%);
gradient light
background: linear-gradient(to right, hsl(185, 40%, 28%), hsl(185, 40%, 8%));
gradient dark
background: linear-gradient(to right, hsl(185, 40%, 8%), hsl(185, 40%, 0%))
hex
background-color: #0C1B1D;
tailwind
bg-[hsl(185,40%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(185, 40%, 8%, 0.4);
css variable
--color-primary: hsl(185, 40%, 8%);
Related Colors
Use Cases for Very Dark Cyan
Frequently Asked Questions
What are all the color codes for HSL(185, 40%, 8%)?
HEX: #0C1B1D | RGB: rgb(12, 27, 29) | CMYK: 59%, 7%, 0%, 89% | HSV: 187°, 59%, 11%. Copy any format from the conversion table above.
What colors go well with #0C1B1D?
The complementary color is HSL(5, 40%, 8%). For a triadic harmony, use hues 185°, 305°, and 65°. For analogous combinations, try hues 155° and 215°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(185, 40%, 8%) in CSS?
As HSL: color: hsl(185, 40%, 8%); — As HEX: color: #0C1B1D; — As RGB: color: rgb(12, 27, 29); — Tailwind CSS: bg-[hsl(185,40%,8%)] — CSS variable: --color-primary: hsl(185, 40%, 8%);