HSL(166, 92%, 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(166,92%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(166, 92%, 8%) | color: hsl(166, 92%, 8%) | |
| HEX | #02271E | color: #02271E | |
| RGB | rgb(2, 39, 30) | color: rgb(2, 39, 30) | |
| CMYK | cmyk(95%, 0%, 23%, 85%) | — | |
| HSV | hsv(165, 95%, 15%) | — | |
| HWB | hwb(165 1% 85%) | color: hwb(165 1% 85%) | |
| OKLCH | oklch(0.2441 0.0449 172.71) | color: oklch(0.2441 0.0449 172.71) | |
| Lab | lab(12.97 -15.87 2.25) | color: lab(12.97 -15.87 2.25) | |
| LCH | lch(12.97 16.03 171.93) | color: lch(12.97 16.03 171.93) |
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)
#121220 — rgb(18, 18, 32)
Deuteranopia (Green-blind)
#100D21 — rgb(16, 13, 33)
Tritanopia (Blue-blind)
#042222 — rgb(4, 34, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(166, 92%, 8%);
text
color: hsl(166, 92%, 8%);
border
border: 2px solid hsl(166, 92%, 8%);
gradient light
background: linear-gradient(to right, hsl(166, 92%, 28%), hsl(166, 92%, 8%));
gradient dark
background: linear-gradient(to right, hsl(166, 92%, 8%), hsl(166, 92%, 0%))
hex
background-color: #02271E;
tailwind
bg-[hsl(166,92%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(166, 92%, 8%, 0.4);
css variable
--color-primary: hsl(166, 92%, 8%);
Related Colors
Use Cases for Very Dark Cyan
Frequently Asked Questions
What are all the color codes for HSL(166, 92%, 8%)?
HEX: #02271E | RGB: rgb(2, 39, 30) | CMYK: 95%, 0%, 23%, 85% | HSV: 165°, 95%, 15%. Copy any format from the conversion table above.
What colors go well with #02271E?
The complementary color is HSL(346, 92%, 8%). 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, 92%, 8%) in CSS?
As HSL: color: hsl(166, 92%, 8%); — As HEX: color: #02271E; — As RGB: color: rgb(2, 39, 30); — Tailwind CSS: bg-[hsl(166,92%,8%)] — CSS variable: --color-primary: hsl(166, 92%, 8%);