HSL(166, 85%, 5%)
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(166,85%,5%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(166, 85%, 5%) | color: hsl(166, 85%, 5%) | |
| HEX | #021813 | color: #021813 | |
| RGB | rgb(2, 24, 19) | color: rgb(2, 24, 19) | |
| CMYK | cmyk(92%, 0%, 21%, 91%) | — | |
| HSV | hsv(166, 92%, 9%) | — | |
| HWB | hwb(166 1% 91%) | color: hwb(166 1% 91%) | |
| OKLCH | oklch(0.1885 0.0318 176.47) | color: oklch(0.1885 0.0318 176.47) | |
| Lab | lab(6.44 -8.55 0.68) | color: lab(6.44 -8.55 0.68) | |
| LCH | lch(6.44 8.58 175.45) | color: lch(6.44 8.58 175.45) |
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)
#0C0C14 — rgb(12, 12, 20)
Deuteranopia (Green-blind)
#0A0915 — rgb(10, 9, 21)
Tritanopia (Blue-blind)
#031515 — rgb(3, 21, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(166, 85%, 5%);
text
color: hsl(166, 85%, 5%);
border
border: 2px solid hsl(166, 85%, 5%);
gradient light
background: linear-gradient(to right, hsl(166, 85%, 25%), hsl(166, 85%, 5%));
gradient dark
background: linear-gradient(to right, hsl(166, 85%, 5%), hsl(166, 85%, 0%))
hex
background-color: #021813;
tailwind
bg-[hsl(166,85%,5%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(166, 85%, 5%, 0.4);
css variable
--color-primary: hsl(166, 85%, 5%);
Related Colors
Use Cases for Very Dark Cyan
Frequently Asked Questions
What are all the color codes for HSL(166, 85%, 5%)?
HEX: #021813 | RGB: rgb(2, 24, 19) | CMYK: 92%, 0%, 21%, 91% | HSV: 166°, 92%, 9%. Copy any format from the conversion table above.
What colors go well with #021813?
The complementary color is HSL(346, 85%, 5%). For a triadic harmony, use hues 166°, 286°, and 46°. For analogous combinations, try hues 136° and 196°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(166, 85%, 5%) in CSS?
As HSL: color: hsl(166, 85%, 5%); — As HEX: color: #021813; — As RGB: color: rgb(2, 24, 19); — Tailwind CSS: bg-[hsl(166,85%,5%)] — CSS variable: --color-primary: hsl(166, 85%, 5%);