HSL(266, 20%, 26%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(266,20%,26%)]

Color Conversions

Format Value CSS Usage
HSL hsl(266, 20%, 26%) color: hsl(266, 20%, 26%)
HEX #413550 color: #413550
RGB rgb(65, 53, 80) color: rgb(65, 53, 80)
CMYK cmyk(19%, 34%, 0%, 69%)
HSV hsv(267, 34%, 31%)
HWB hwb(267 20% 69%) color: hwb(267 20% 69%)
OKLCH oklch(0.3535 0.0483 304.4) color: oklch(0.3535 0.0483 304.4)
Lab lab(24.48 11.62 -14.5) color: lab(24.48 11.62 -14.5)
LCH lch(24.48 18.58 308.71) color: lch(24.48 18.58 308.71)

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 11.35:1
vs Black 1.85: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)

#3C3C49 — rgb(60, 60, 73)

Deuteranopia (Green-blind)

#3D3D48 — rgb(61, 61, 72)

Tritanopia (Blue-blind)

#404443 — rgb(64, 68, 67)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(266, 20%, 26%);

text

color: hsl(266, 20%, 26%);

border

border: 2px solid hsl(266, 20%, 26%);

gradient light

background: linear-gradient(to right, hsl(266, 20%, 46%), hsl(266, 20%, 26%));

gradient dark

background: linear-gradient(to right, hsl(266, 20%, 26%), hsl(266, 20%, 6%))

hex

background-color: #413550;

tailwind

bg-[hsl(266,20%,26%)]

box shadow

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

css variable

--color-primary: hsl(266, 20%, 26%);

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, 20%, 26%)?

HEX: #413550 | RGB: rgb(65, 53, 80) | CMYK: 19%, 34%, 0%, 69% | HSV: 267°, 34%, 31%. Copy any format from the conversion table above.

What colors go well with #413550?

The complementary color is HSL(86, 20%, 26%). 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, 20%, 26%) in CSS?

As HSL: color: hsl(266, 20%, 26%); — As HEX: color: #413550; — As RGB: color: rgb(65, 53, 80); — Tailwind CSS: bg-[hsl(266,20%,26%)] — CSS variable: --color-primary: hsl(266, 20%, 26%);