HSL(267, 75%, 19%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(267,75%,19%)]

Color Conversions

Format Value CSS Usage
HSL hsl(267, 75%, 19%) color: hsl(267, 75%, 19%)
HEX #2D0C55 color: #2D0C55
RGB rgb(45, 12, 85) color: rgb(45, 12, 85)
CMYK cmyk(47%, 86%, 0%, 67%)
HSV hsv(267, 86%, 33%)
HWB hwb(267 5% 67%) color: hwb(267 5% 67%)
OKLCH oklch(0.2603 0.1202 297.67) color: oklch(0.2603 0.1202 297.67)
Lab lab(12.46 32.72 -37.17) color: lab(12.46 32.72 -37.17)
LCH lch(12.46 49.52 311.36) color: lch(12.46 49.52 311.36)

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.21:1
vs Black 1.3: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)

#1F1E43 — rgb(31, 30, 67)

Deuteranopia (Green-blind)

#21233F — rgb(33, 35, 63)

Tritanopia (Blue-blind)

#2B3532 — rgb(43, 53, 50)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(267, 75%, 19%);

text

color: hsl(267, 75%, 19%);

border

border: 2px solid hsl(267, 75%, 19%);

gradient light

background: linear-gradient(to right, hsl(267, 75%, 39%), hsl(267, 75%, 19%));

gradient dark

background: linear-gradient(to right, hsl(267, 75%, 19%), hsl(267, 75%, 0%))

hex

background-color: #2D0C55;

tailwind

bg-[hsl(267,75%,19%)]

box shadow

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

css variable

--color-primary: hsl(267, 75%, 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(267, 75%, 19%)?

HEX: #2D0C55 | RGB: rgb(45, 12, 85) | CMYK: 47%, 86%, 0%, 67% | HSV: 267°, 86%, 33%. Copy any format from the conversion table above.

What colors go well with #2D0C55?

The complementary color is HSL(87, 75%, 19%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(267, 75%, 19%) in CSS?

As HSL: color: hsl(267, 75%, 19%); — As HEX: color: #2D0C55; — As RGB: color: rgb(45, 12, 85); — Tailwind CSS: bg-[hsl(267,75%,19%)] — CSS variable: --color-primary: hsl(267, 75%, 19%);