HSL(276, 80%, 15%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(276,80%,15%)]

Color Conversions

Format Value CSS Usage
HSL hsl(276, 80%, 15%) color: hsl(276, 80%, 15%)
HEX #2C0845 color: #2C0845
RGB rgb(44, 8, 69) color: rgb(44, 8, 69)
CMYK cmyk(36%, 88%, 0%, 73%)
HSV hsv(275, 88%, 27%)
HWB hwb(275 3% 73%) color: hwb(275 3% 73%)
OKLCH oklch(0.2386 0.1061 306.49) color: oklch(0.2386 0.1061 306.49)
Lab lab(10.1 29.99 -29.96) color: lab(10.1 29.99 -29.96)
LCH lch(10.1 42.39 315.03) color: lch(10.1 42.39 315.03)

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 17.1:1
vs Black 1.23: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)

#1C1C36 — rgb(28, 28, 54)

Deuteranopia (Green-blind)

#1F2133 — rgb(31, 33, 51)

Tritanopia (Blue-blind)

#2A2B28 — rgb(42, 43, 40)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(276, 80%, 15%);

text

color: hsl(276, 80%, 15%);

border

border: 2px solid hsl(276, 80%, 15%);

gradient light

background: linear-gradient(to right, hsl(276, 80%, 35%), hsl(276, 80%, 15%));

gradient dark

background: linear-gradient(to right, hsl(276, 80%, 15%), hsl(276, 80%, 0%))

hex

background-color: #2C0845;

tailwind

bg-[hsl(276,80%,15%)]

box shadow

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

css variable

--color-primary: hsl(276, 80%, 15%);

Related Colors

Use Cases for Indigo

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(276, 80%, 15%)?

HEX: #2C0845 | RGB: rgb(44, 8, 69) | CMYK: 36%, 88%, 0%, 73% | HSV: 275°, 88%, 27%. Copy any format from the conversion table above.

What colors go well with #2C0845?

The complementary color is HSL(96, 80%, 15%). For a triadic harmony, use hues 276°, 36°, and 156°. For analogous combinations, try hues 246° and 306°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(276, 80%, 15%) in CSS?

As HSL: color: hsl(276, 80%, 15%); — As HEX: color: #2C0845; — As RGB: color: rgb(44, 8, 69); — Tailwind CSS: bg-[hsl(276,80%,15%)] — CSS variable: --color-primary: hsl(276, 80%, 15%);