HSL(266, 63%, 37%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(266,63%,37%)]

Color Conversions

Format Value CSS Usage
HSL hsl(266, 63%, 37%) color: hsl(266, 63%, 37%)
HEX #56239A color: #56239A
RGB rgb(86, 35, 154) color: rgb(86, 35, 154)
CMYK cmyk(44%, 77%, 0%, 40%)
HSV hsv(266, 77%, 60%)
HWB hwb(266 14% 40%) color: hwb(266 14% 40%)
OKLCH oklch(0.4022 0.1785 296.98) color: oklch(0.4022 0.1785 296.98)
Lab lab(28.15 47.85 -55.58) color: lab(28.15 47.85 -55.58)
LCH lch(28.15 73.34 310.73) color: lch(28.15 73.34 310.73)

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 9.99:1
vs Black 2.1: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)

#403F7D — rgb(64, 63, 125)

Deuteranopia (Green-blind)

#434776 — rgb(67, 71, 118)

Tritanopia (Blue-blind)

#536661 — rgb(83, 102, 97)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(266, 63%, 37%);

text

color: hsl(266, 63%, 37%);

border

border: 2px solid hsl(266, 63%, 37%);

gradient light

background: linear-gradient(to right, hsl(266, 63%, 57%), hsl(266, 63%, 37%));

gradient dark

background: linear-gradient(to right, hsl(266, 63%, 37%), hsl(266, 63%, 17%))

hex

background-color: #56239A;

tailwind

bg-[hsl(266,63%,37%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(266, 63%, 37%, 0.4);

css variable

--color-primary: hsl(266, 63%, 37%);

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(266, 63%, 37%)?

HEX: #56239A | RGB: rgb(86, 35, 154) | CMYK: 44%, 77%, 0%, 40% | HSV: 266°, 77%, 60%. Copy any format from the conversion table above.

What colors go well with #56239A?

The complementary color is HSL(86, 63%, 37%). For a triadic harmony, use hues 266°, 26°, and 146°. For analogous combinations, try hues 236° and 296°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(266, 63%, 37%) in CSS?

As HSL: color: hsl(266, 63%, 37%); — As HEX: color: #56239A; — As RGB: color: rgb(86, 35, 154); — Tailwind CSS: bg-[hsl(266,63%,37%)] — CSS variable: --color-primary: hsl(266, 63%, 37%);