HSL(172, 42%, 7%)
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(172,42%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(172, 42%, 7%) | color: hsl(172, 42%, 7%) | |
| HEX | #0A1917 | color: #0A1917 | |
| RGB | rgb(10, 25, 23) | color: rgb(10, 25, 23) | |
| CMYK | cmyk(60%, 0%, 8%, 90%) | — | |
| HSV | hsv(172, 60%, 10%) | — | |
| HWB | hwb(172 4% 90%) | color: hwb(172 4% 90%) | |
| OKLCH | oklch(0.1992 0.0211 184.77) | color: oklch(0.1992 0.0211 184.77) | |
| Lab | lab(7.42 -6.29 -0.59) | color: lab(7.42 -6.29 -0.59) | |
| LCH | lch(7.42 6.32 185.36) | color: lch(7.42 6.32 185.36) |
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)
#101117 — rgb(16, 17, 23)
Deuteranopia (Green-blind)
#100F18 — rgb(16, 15, 24)
Tritanopia (Blue-blind)
#0B1818 — rgb(11, 24, 24)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(172, 42%, 7%);
text
color: hsl(172, 42%, 7%);
border
border: 2px solid hsl(172, 42%, 7%);
gradient light
background: linear-gradient(to right, hsl(172, 42%, 27%), hsl(172, 42%, 7%));
gradient dark
background: linear-gradient(to right, hsl(172, 42%, 7%), hsl(172, 42%, 0%))
hex
background-color: #0A1917;
tailwind
bg-[hsl(172,42%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(172, 42%, 7%, 0.4);
css variable
--color-primary: hsl(172, 42%, 7%);
Related Colors
Use Cases for Very Dark Cyan
Frequently Asked Questions
What are all the color codes for HSL(172, 42%, 7%)?
HEX: #0A1917 | RGB: rgb(10, 25, 23) | CMYK: 60%, 0%, 8%, 90% | HSV: 172°, 60%, 10%. Copy any format from the conversion table above.
What colors go well with #0A1917?
The complementary color is HSL(352, 42%, 7%). For a triadic harmony, use hues 172°, 292°, and 52°. For analogous combinations, try hues 142° and 202°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(172, 42%, 7%) in CSS?
As HSL: color: hsl(172, 42%, 7%); — As HEX: color: #0A1917; — As RGB: color: rgb(10, 25, 23); — Tailwind CSS: bg-[hsl(172,42%,7%)] — CSS variable: --color-primary: hsl(172, 42%, 7%);