HSL(266, 78%, 24%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(266,78%,24%)]

Color Conversions

Format Value CSS Usage
HSL hsl(266, 78%, 24%) color: hsl(266, 78%, 24%)
HEX #370D6D color: #370D6D
RGB rgb(55, 13, 109) color: rgb(55, 13, 109)
CMYK cmyk(50%, 88%, 0%, 57%)
HSV hsv(266, 88%, 43%)
HWB hwb(266 5% 57%) color: hwb(266 5% 57%)
OKLCH oklch(0.2991 0.1474 295.36) color: oklch(0.2991 0.1474 295.36)
Lab lab(16.52 40.41 -46.42) color: lab(16.52 40.41 -46.42)
LCH lch(16.52 61.54 311.04) color: lch(16.52 61.54 311.04)

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 14.57:1
vs Black 1.44: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)

#252456 — rgb(37, 36, 86)

Deuteranopia (Green-blind)

#272A50 — rgb(39, 42, 80)

Tritanopia (Blue-blind)

#35433F — rgb(53, 67, 63)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(266, 78%, 24%);

text

color: hsl(266, 78%, 24%);

border

border: 2px solid hsl(266, 78%, 24%);

gradient light

background: linear-gradient(to right, hsl(266, 78%, 44%), hsl(266, 78%, 24%));

gradient dark

background: linear-gradient(to right, hsl(266, 78%, 24%), hsl(266, 78%, 4%))

hex

background-color: #370D6D;

tailwind

bg-[hsl(266,78%,24%)]

box shadow

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

css variable

--color-primary: hsl(266, 78%, 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(266, 78%, 24%)?

HEX: #370D6D | RGB: rgb(55, 13, 109) | CMYK: 50%, 88%, 0%, 57% | HSV: 266°, 88%, 43%. Copy any format from the conversion table above.

What colors go well with #370D6D?

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

As HSL: color: hsl(266, 78%, 24%); — As HEX: color: #370D6D; — As RGB: color: rgb(55, 13, 109); — Tailwind CSS: bg-[hsl(266,78%,24%)] — CSS variable: --color-primary: hsl(266, 78%, 24%);