HSL(170, 80%, 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(170,80%,8%)]

Color Conversions

Format Value CSS Usage
HSL hsl(170, 80%, 8%) color: hsl(170, 80%, 8%)
HEX #04251F color: #04251F
RGB rgb(4, 37, 31) color: rgb(4, 37, 31)
CMYK cmyk(89%, 0%, 16%, 85%)
HSV hsv(169, 89%, 15%)
HWB hwb(169 2% 85%) color: hwb(169 2% 85%)
OKLCH oklch(0.2387 0.0397 178.27) color: oklch(0.2387 0.0397 178.27)
Lab lab(12.27 -13.83 0.54) color: lab(12.27 -13.83 0.54)
LCH lch(12.27 13.84 177.76) color: lch(12.27 13.84 177.76)

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.28:1
vs Black 1.29: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)

#121320 — rgb(18, 19, 32)

Deuteranopia (Green-blind)

#100E21 — rgb(16, 14, 33)

Tritanopia (Blue-blind)

#062222 — rgb(6, 34, 34)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(170, 80%, 8%);

text

color: hsl(170, 80%, 8%);

border

border: 2px solid hsl(170, 80%, 8%);

gradient light

background: linear-gradient(to right, hsl(170, 80%, 28%), hsl(170, 80%, 8%));

gradient dark

background: linear-gradient(to right, hsl(170, 80%, 8%), hsl(170, 80%, 0%))

hex

background-color: #04251F;

tailwind

bg-[hsl(170,80%,8%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(170, 80%, 8%, 0.4);

css variable

--color-primary: hsl(170, 80%, 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(170, 80%, 8%)?

HEX: #04251F | RGB: rgb(4, 37, 31) | CMYK: 89%, 0%, 16%, 85% | HSV: 169°, 89%, 15%. Copy any format from the conversion table above.

What colors go well with #04251F?

The complementary color is HSL(350, 80%, 8%). For a triadic harmony, use hues 170°, 290°, and 50°. For analogous combinations, try hues 140° and 200°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(170, 80%, 8%) in CSS?

As HSL: color: hsl(170, 80%, 8%); — As HEX: color: #04251F; — As RGB: color: rgb(4, 37, 31); — Tailwind CSS: bg-[hsl(170,80%,8%)] — CSS variable: --color-primary: hsl(170, 80%, 8%);