HSL(263, 65%, 19%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(263,65%,19%)]

Color Conversions

Format Value CSS Usage
HSL hsl(263, 65%, 19%) color: hsl(263, 65%, 19%)
HEX #291150 color: #291150
RGB rgb(41, 17, 80) color: rgb(41, 17, 80)
CMYK cmyk(49%, 79%, 0%, 69%)
HSV hsv(263, 79%, 31%)
HWB hwb(263 7% 69%) color: hwb(263 7% 69%)
OKLCH oklch(0.2564 0.1076 295.08) color: oklch(0.2564 0.1076 295.08)
Lab lab(12.3 27.96 -34.04) color: lab(12.3 27.96 -34.04)
LCH lch(12.3 44.05 309.4) color: lch(12.3 44.05 309.4)

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 16.28:1
vs Black 1.29: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)

#1F1E41 — rgb(31, 30, 65)

Deuteranopia (Green-blind)

#20223D — rgb(32, 34, 61)

Tritanopia (Blue-blind)

#283532 — rgb(40, 53, 50)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(263, 65%, 19%);

text

color: hsl(263, 65%, 19%);

border

border: 2px solid hsl(263, 65%, 19%);

gradient light

background: linear-gradient(to right, hsl(263, 65%, 39%), hsl(263, 65%, 19%));

gradient dark

background: linear-gradient(to right, hsl(263, 65%, 19%), hsl(263, 65%, 0%))

hex

background-color: #291150;

tailwind

bg-[hsl(263,65%,19%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(263, 65%, 19%, 0.4);

css variable

--color-primary: hsl(263, 65%, 19%);

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(263, 65%, 19%)?

HEX: #291150 | RGB: rgb(41, 17, 80) | CMYK: 49%, 79%, 0%, 69% | HSV: 263°, 79%, 31%. Copy any format from the conversion table above.

What colors go well with #291150?

The complementary color is HSL(83, 65%, 19%). For a triadic harmony, use hues 263°, 23°, and 143°. For analogous combinations, try hues 233° and 293°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(263, 65%, 19%) in CSS?

As HSL: color: hsl(263, 65%, 19%); — As HEX: color: #291150; — As RGB: color: rgb(41, 17, 80); — Tailwind CSS: bg-[hsl(263,65%,19%)] — CSS variable: --color-primary: hsl(263, 65%, 19%);