HSL(166, 72%, 6%)

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,72%,6%)]

Color Conversions

Format Value CSS Usage
HSL hsl(166, 72%, 6%) color: hsl(166, 72%, 6%)
HEX #041A15 color: #041A15
RGB rgb(4, 26, 21) color: rgb(4, 26, 21)
CMYK cmyk(85%, 0%, 19%, 90%)
HSV hsv(166, 85%, 10%)
HWB hwb(166 2% 90%) color: hwb(166 2% 90%)
OKLCH oklch(0.1977 0.0308 176.26) color: oklch(0.1977 0.0308 176.26)
Lab lab(7.4 -9.15 0.76) color: lab(7.4 -9.15 0.76)
LCH lch(7.4 9.18 175.25) color: lch(7.4 9.18 175.25)

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 18.05:1
vs Black 1.16: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)

#0E0E16 — rgb(14, 14, 22)

Deuteranopia (Green-blind)

#0C0B17 — rgb(12, 11, 23)

Tritanopia (Blue-blind)

#051717 — rgb(5, 23, 23)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(166, 72%, 6%);

text

color: hsl(166, 72%, 6%);

border

border: 2px solid hsl(166, 72%, 6%);

gradient light

background: linear-gradient(to right, hsl(166, 72%, 26%), hsl(166, 72%, 6%));

gradient dark

background: linear-gradient(to right, hsl(166, 72%, 6%), hsl(166, 72%, 0%))

hex

background-color: #041A15;

tailwind

bg-[hsl(166,72%,6%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(166, 72%, 6%, 0.4);

css variable

--color-primary: hsl(166, 72%, 6%);

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, 72%, 6%)?

HEX: #041A15 | RGB: rgb(4, 26, 21) | CMYK: 85%, 0%, 19%, 90% | HSV: 166°, 85%, 10%. Copy any format from the conversion table above.

What colors go well with #041A15?

The complementary color is HSL(346, 72%, 6%). 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, 72%, 6%) in CSS?

As HSL: color: hsl(166, 72%, 6%); — As HEX: color: #041A15; — As RGB: color: rgb(4, 26, 21); — Tailwind CSS: bg-[hsl(166,72%,6%)] — CSS variable: --color-primary: hsl(166, 72%, 6%);