HSL(172, 81%, 4%)
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,81%,4%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(172, 81%, 4%) | color: hsl(172, 81%, 4%) | |
| HEX | #021210 | color: #021210 | |
| RGB | rgb(2, 18, 16) | color: rgb(2, 18, 16) | |
| CMYK | cmyk(89%, 0%, 11%, 93%) | — | |
| HSV | hsv(173, 89%, 7%) | — | |
| HWB | hwb(173 1% 93%) | color: hwb(173 1% 93%) | |
| OKLCH | oklch(0.1659 0.0251 185.46) | color: oklch(0.1659 0.0251 185.46) | |
| Lab | lab(4.36 -5.09 -0.57) | color: lab(4.36 -5.09 -0.57) | |
| LCH | lch(4.36 5.12 186.39) | color: lch(4.36 5.12 186.39) |
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)
#090910 — rgb(9, 9, 16)
Deuteranopia (Green-blind)
#080711 — rgb(8, 7, 17)
Tritanopia (Blue-blind)
#031111 — rgb(3, 17, 17)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(172, 81%, 4%);
text
color: hsl(172, 81%, 4%);
border
border: 2px solid hsl(172, 81%, 4%);
gradient light
background: linear-gradient(to right, hsl(172, 81%, 24%), hsl(172, 81%, 4%));
gradient dark
background: linear-gradient(to right, hsl(172, 81%, 4%), hsl(172, 81%, 0%))
hex
background-color: #021210;
tailwind
bg-[hsl(172,81%,4%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(172, 81%, 4%, 0.4);
css variable
--color-primary: hsl(172, 81%, 4%);
Related Colors
Use Cases for Very Dark Cyan
Frequently Asked Questions
What are all the color codes for HSL(172, 81%, 4%)?
HEX: #021210 | RGB: rgb(2, 18, 16) | CMYK: 89%, 0%, 11%, 93% | HSV: 173°, 89%, 7%. Copy any format from the conversion table above.
What colors go well with #021210?
The complementary color is HSL(352, 81%, 4%). 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, 81%, 4%) in CSS?
As HSL: color: hsl(172, 81%, 4%); — As HEX: color: #021210; — As RGB: color: rgb(2, 18, 16); — Tailwind CSS: bg-[hsl(172,81%,4%)] — CSS variable: --color-primary: hsl(172, 81%, 4%);