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

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 16.01:1
vs Black 1.31:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

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

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

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

Tech/SaaS products Medical apps Water/ocean themes Clean UI elements Data viz

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%);