HSL(171, 68%, 2%)
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(171,68%,2%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(171, 68%, 2%) | color: hsl(171, 68%, 2%) | |
| HEX | #020908 | color: #020908 | |
| RGB | rgb(2, 9, 8) | color: rgb(2, 9, 8) | |
| CMYK | cmyk(78%, 0%, 11%, 96%) | — | |
| HSV | hsv(171, 78%, 4%) | — | |
| HWB | hwb(171 1% 96%) | color: hwb(171 1% 96%) | |
| OKLCH | oklch(0.1292 0.016 186.58) | color: oklch(0.1292 0.016 186.58) | |
| Lab | lab(2.04 -1.97 -0.27) | color: lab(2.04 -1.97 -0.27) | |
| LCH | lch(2.04 1.99 187.8) | color: lch(2.04 1.99 187.8) |
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)
#050508 — rgb(5, 5, 8)
Deuteranopia (Green-blind)
#050408 — rgb(5, 4, 8)
Tritanopia (Blue-blind)
#020808 — rgb(2, 8, 8)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(171, 68%, 2%);
text
color: hsl(171, 68%, 2%);
border
border: 2px solid hsl(171, 68%, 2%);
gradient light
background: linear-gradient(to right, hsl(171, 68%, 22%), hsl(171, 68%, 2%));
gradient dark
background: linear-gradient(to right, hsl(171, 68%, 2%), hsl(171, 68%, 0%))
hex
background-color: #020908;
tailwind
bg-[hsl(171,68%,2%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(171, 68%, 2%, 0.4);
css variable
--color-primary: hsl(171, 68%, 2%);
Related Colors
Use Cases for Very Dark Cyan
Frequently Asked Questions
What are all the color codes for HSL(171, 68%, 2%)?
HEX: #020908 | RGB: rgb(2, 9, 8) | CMYK: 78%, 0%, 11%, 96% | HSV: 171°, 78%, 4%. Copy any format from the conversion table above.
What colors go well with #020908?
The complementary color is HSL(351, 68%, 2%). For a triadic harmony, use hues 171°, 291°, and 51°. For analogous combinations, try hues 141° and 201°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(171, 68%, 2%) in CSS?
As HSL: color: hsl(171, 68%, 2%); — As HEX: color: #020908; — As RGB: color: rgb(2, 9, 8); — Tailwind CSS: bg-[hsl(171,68%,2%)] — CSS variable: --color-primary: hsl(171, 68%, 2%);