HSL(157, 72%, 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(157,72%,9%)]

Color Conversions

Format Value CSS Usage
HSL hsl(157, 72%, 9%) color: hsl(157, 72%, 9%)
HEX #06271B color: #06271B
RGB rgb(6, 39, 27) color: rgb(6, 39, 27)
CMYK cmyk(85%, 0%, 31%, 85%)
HSV hsv(158, 85%, 15%)
HWB hwb(158 2% 85%) color: hwb(158 2% 85%)
OKLCH oklch(0.2448 0.0447 165.07) color: oklch(0.2448 0.0447 165.07)
Lab lab(13.04 -15.67 4.51) color: lab(13.04 -15.67 4.51)
LCH lch(13.04 16.31 163.94) color: lch(13.04 16.31 163.94)

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.98: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)

#14151E — rgb(20, 21, 30)

Deuteranopia (Green-blind)

#12101F — rgb(18, 16, 31)

Tritanopia (Blue-blind)

#082021 — rgb(8, 32, 33)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(157, 72%, 9%);

text

color: hsl(157, 72%, 9%);

border

border: 2px solid hsl(157, 72%, 9%);

gradient light

background: linear-gradient(to right, hsl(157, 72%, 29%), hsl(157, 72%, 9%));

gradient dark

background: linear-gradient(to right, hsl(157, 72%, 9%), hsl(157, 72%, 0%))

hex

background-color: #06271B;

tailwind

bg-[hsl(157,72%,9%)]

box shadow

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

css variable

--color-primary: hsl(157, 72%, 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(157, 72%, 9%)?

HEX: #06271B | RGB: rgb(6, 39, 27) | CMYK: 85%, 0%, 31%, 85% | HSV: 158°, 85%, 15%. Copy any format from the conversion table above.

What colors go well with #06271B?

The complementary color is HSL(337, 72%, 9%). For a triadic harmony, use hues 157°, 277°, and 37°. For analogous combinations, try hues 127° and 187°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(157, 72%, 9%) in CSS?

As HSL: color: hsl(157, 72%, 9%); — As HEX: color: #06271B; — As RGB: color: rgb(6, 39, 27); — Tailwind CSS: bg-[hsl(157,72%,9%)] — CSS variable: --color-primary: hsl(157, 72%, 9%);