HSL(260, 22%, 24%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(260,22%,24%)]

Color Conversions

Format Value CSS Usage
HSL hsl(260, 22%, 24%) color: hsl(260, 22%, 24%)
HEX #39304B color: #39304B
RGB rgb(57, 48, 75) color: rgb(57, 48, 75)
CMYK cmyk(24%, 36%, 0%, 71%)
HSV hsv(260, 36%, 29%)
HWB hwb(260 19% 71%) color: hwb(260 19% 71%)
OKLCH oklch(0.331 0.0481 299.08) color: oklch(0.331 0.0481 299.08)
Lab lab(21.91 10.7 -15.2) color: lab(21.91 10.7 -15.2)
LCH lch(21.91 18.59 305.14) color: lch(21.91 18.59 305.14)

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.36:1
vs Black 1.7: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)

#353544 — rgb(53, 53, 68)

Deuteranopia (Green-blind)

#363643 — rgb(54, 54, 67)

Tritanopia (Blue-blind)

#393F3E — rgb(57, 63, 62)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(260, 22%, 24%);

text

color: hsl(260, 22%, 24%);

border

border: 2px solid hsl(260, 22%, 24%);

gradient light

background: linear-gradient(to right, hsl(260, 22%, 44%), hsl(260, 22%, 24%));

gradient dark

background: linear-gradient(to right, hsl(260, 22%, 24%), hsl(260, 22%, 4%))

hex

background-color: #39304B;

tailwind

bg-[hsl(260,22%,24%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(260, 22%, 24%, 0.4);

css variable

--color-primary: hsl(260, 22%, 24%);

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(260, 22%, 24%)?

HEX: #39304B | RGB: rgb(57, 48, 75) | CMYK: 24%, 36%, 0%, 71% | HSV: 260°, 36%, 29%. Copy any format from the conversion table above.

What colors go well with #39304B?

The complementary color is HSL(80, 22%, 24%). For a triadic harmony, use hues 260°, 20°, and 140°. For analogous combinations, try hues 230° and 290°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(260, 22%, 24%) in CSS?

As HSL: color: hsl(260, 22%, 24%); — As HEX: color: #39304B; — As RGB: color: rgb(57, 48, 75); — Tailwind CSS: bg-[hsl(260,22%,24%)] — CSS variable: --color-primary: hsl(260, 22%, 24%);