HSL(165, 83%, 9%)

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(165,83%,9%)]

Color Conversions

Format Value CSS Usage
HSL hsl(165, 83%, 9%) color: hsl(165, 83%, 9%)
HEX #042A20 color: #042A20
RGB rgb(4, 42, 32) color: rgb(4, 42, 32)
CMYK cmyk(90%, 0%, 24%, 84%)
HSV hsv(164, 90%, 16%)
HWB hwb(164 2% 84%) color: hwb(164 2% 84%)
OKLCH oklch(0.2556 0.0461 171.19) color: oklch(0.2556 0.0461 171.19)
Lab lab(14.32 -16.29 2.78) color: lab(14.32 -16.29 2.78)
LCH lch(14.32 16.53 170.32) color: lch(14.32 16.53 170.32)

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 15.47:1
vs Black 1.36: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)

#141522 — rgb(20, 21, 34)

Deuteranopia (Green-blind)

#120F23 — rgb(18, 15, 35)

Tritanopia (Blue-blind)

#062425 — rgb(6, 36, 37)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(165, 83%, 9%);

text

color: hsl(165, 83%, 9%);

border

border: 2px solid hsl(165, 83%, 9%);

gradient light

background: linear-gradient(to right, hsl(165, 83%, 29%), hsl(165, 83%, 9%));

gradient dark

background: linear-gradient(to right, hsl(165, 83%, 9%), hsl(165, 83%, 0%))

hex

background-color: #042A20;

tailwind

bg-[hsl(165,83%,9%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(165, 83%, 9%, 0.4);

css variable

--color-primary: hsl(165, 83%, 9%);

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(165, 83%, 9%)?

HEX: #042A20 | RGB: rgb(4, 42, 32) | CMYK: 90%, 0%, 24%, 84% | HSV: 164°, 90%, 16%. Copy any format from the conversion table above.

What colors go well with #042A20?

The complementary color is HSL(345, 83%, 9%). For a triadic harmony, use hues 165°, 285°, and 45°. For analogous combinations, try hues 135° and 195°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(165, 83%, 9%) in CSS?

As HSL: color: hsl(165, 83%, 9%); — As HEX: color: #042A20; — As RGB: color: rgb(4, 42, 32); — Tailwind CSS: bg-[hsl(165,83%,9%)] — CSS variable: --color-primary: hsl(165, 83%, 9%);