HSL(277, 31%, 25%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(277,31%,25%)]

Color Conversions

Format Value CSS Usage
HSL hsl(277, 31%, 25%) color: hsl(277, 31%, 25%)
HEX #442C54 color: #442C54
RGB rgb(68, 44, 84) color: rgb(68, 44, 84)
CMYK cmyk(19%, 48%, 0%, 67%)
HSV hsv(276, 48%, 33%)
HWB hwb(276 17% 67%) color: hwb(276 17% 67%)
OKLCH oklch(0.3404 0.0737 310.64) color: oklch(0.3404 0.0737 310.64)
Lab lab(22.55 19.73 -20.13) color: lab(22.55 19.73 -20.13)
LCH lch(22.55 28.19 314.43) color: lch(22.55 28.19 314.43)

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 12.11:1
vs Black 1.73: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)

#3A394A — rgb(58, 57, 74)

Deuteranopia (Green-blind)

#3B3D48 — rgb(59, 61, 72)

Tritanopia (Blue-blind)

#434341 — rgb(67, 67, 65)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(277, 31%, 25%);

text

color: hsl(277, 31%, 25%);

border

border: 2px solid hsl(277, 31%, 25%);

gradient light

background: linear-gradient(to right, hsl(277, 31%, 45%), hsl(277, 31%, 25%));

gradient dark

background: linear-gradient(to right, hsl(277, 31%, 25%), hsl(277, 31%, 5%))

hex

background-color: #442C54;

tailwind

bg-[hsl(277,31%,25%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(277, 31%, 25%, 0.4);

css variable

--color-primary: hsl(277, 31%, 25%);

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(277, 31%, 25%)?

HEX: #442C54 | RGB: rgb(68, 44, 84) | CMYK: 19%, 48%, 0%, 67% | HSV: 276°, 48%, 33%. Copy any format from the conversion table above.

What colors go well with #442C54?

The complementary color is HSL(97, 31%, 25%). For a triadic harmony, use hues 277°, 37°, and 157°. For analogous combinations, try hues 247° and 307°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(277, 31%, 25%) in CSS?

As HSL: color: hsl(277, 31%, 25%); — As HEX: color: #442C54; — As RGB: color: rgb(68, 44, 84); — Tailwind CSS: bg-[hsl(277,31%,25%)] — CSS variable: --color-primary: hsl(277, 31%, 25%);