HSL(276, 90%, 15%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(276, 90%, 15%) color: hsl(276, 90%, 15%)
HEX #2D0449 color: #2D0449
RGB rgb(45, 4, 73) color: rgb(45, 4, 73)
CMYK cmyk(38%, 95%, 0%, 71%)
HSV hsv(276, 95%, 29%)
HWB hwb(276 1% 71%) color: hwb(276 1% 71%)
OKLCH oklch(0.2395 0.1157 305.77) color: oklch(0.2395 0.1157 305.77)
Lab lab(10 33.14 -32.92) color: lab(10 33.14 -32.92)
LCH lch(10 46.71 315.19) color: lch(10 46.71 315.19)

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

#1B1B38 — rgb(27, 27, 56)

Deuteranopia (Green-blind)

#1E2134 — rgb(30, 33, 52)

Tritanopia (Blue-blind)

#2B2B28 — rgb(43, 43, 40)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #2D0449;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(276, 90%, 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, 90%, 15%)?

HEX: #2D0449 | RGB: rgb(45, 4, 73) | CMYK: 38%, 95%, 0%, 71% | HSV: 276°, 95%, 29%. Copy any format from the conversion table above.

What colors go well with #2D0449?

The complementary color is HSL(96, 90%, 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, 90%, 15%) in CSS?

As HSL: color: hsl(276, 90%, 15%); — As HEX: color: #2D0449; — As RGB: color: rgb(45, 4, 73); — Tailwind CSS: bg-[hsl(276,90%,15%)] — CSS variable: --color-primary: hsl(276, 90%, 15%);