HSL(271, 72%, 8%)

Very Dark Indigo — Indigo color

Adjust Color

Color Information

Color Name

Very Dark Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(271,72%,8%)]

Color Conversions

Format Value CSS Usage
HSL hsl(271, 72%, 8%) color: hsl(271, 72%, 8%)
HEX #150623 color: #150623
RGB rgb(21, 6, 35) color: rgb(21, 6, 35)
CMYK cmyk(40%, 83%, 0%, 86%)
HSV hsv(271, 83%, 14%)
HWB hwb(271 2% 86%) color: hwb(271 2% 86%)
OKLCH oklch(0.1672 0.0598 304.99) color: oklch(0.1672 0.0598 304.99)
Lab lab(3.71 11.76 -15.34) color: lab(3.71 11.76 -15.34)
LCH lch(3.71 19.33 307.47) color: lch(3.71 19.33 307.47)

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 19.4:1
vs Black 1.08: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)

#0F0E1C — rgb(15, 14, 28)

Deuteranopia (Green-blind)

#0F111A — rgb(15, 17, 26)

Tritanopia (Blue-blind)

#141615 — rgb(20, 22, 21)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(271, 72%, 8%);

text

color: hsl(271, 72%, 8%);

border

border: 2px solid hsl(271, 72%, 8%);

gradient light

background: linear-gradient(to right, hsl(271, 72%, 28%), hsl(271, 72%, 8%));

gradient dark

background: linear-gradient(to right, hsl(271, 72%, 8%), hsl(271, 72%, 0%))

hex

background-color: #150623;

tailwind

bg-[hsl(271,72%,8%)]

box shadow

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

css variable

--color-primary: hsl(271, 72%, 8%);

Related Colors

Use Cases for Very Dark Indigo

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(271, 72%, 8%)?

HEX: #150623 | RGB: rgb(21, 6, 35) | CMYK: 40%, 83%, 0%, 86% | HSV: 271°, 83%, 14%. Copy any format from the conversion table above.

What colors go well with #150623?

The complementary color is HSL(91, 72%, 8%). For a triadic harmony, use hues 271°, 31°, and 151°. For analogous combinations, try hues 241° and 301°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(271, 72%, 8%) in CSS?

As HSL: color: hsl(271, 72%, 8%); — As HEX: color: #150623; — As RGB: color: rgb(21, 6, 35); — Tailwind CSS: bg-[hsl(271,72%,8%)] — CSS variable: --color-primary: hsl(271, 72%, 8%);