HSL(258, 50%, 74%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(258,50%,74%)]

Color Conversions

Format Value CSS Usage
HSL hsl(258, 50%, 74%) color: hsl(258, 50%, 74%)
HEX #AF9CDE color: #AF9CDE
RGB rgb(175, 156, 222) color: rgb(175, 156, 222)
CMYK cmyk(21%, 30%, 0%, 13%)
HSV hsv(257, 30%, 87%)
HWB hwb(257 61% 13%) color: hwb(257 61% 13%)
OKLCH oklch(0.7333 0.0959 297.2) color: oklch(0.7333 0.0959 297.2)
Lab lab(68.14 20.41 -30.93) color: lab(68.14 20.41 -30.93)
LCH lch(68.14 37.06 303.42) color: lch(68.14 37.06 303.42)

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 2.43:1
vs Black 8.63:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#A7A7CE — rgb(167, 167, 206)

Deuteranopia (Green-blind)

#A8A9CA — rgb(168, 169, 202)

Tritanopia (Blue-blind)

#AEC1BF — rgb(174, 193, 191)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(258, 50%, 74%);

text

color: hsl(258, 50%, 74%);

border

border: 2px solid hsl(258, 50%, 74%);

gradient light

background: linear-gradient(to right, hsl(258, 50%, 94%), hsl(258, 50%, 74%));

gradient dark

background: linear-gradient(to right, hsl(258, 50%, 74%), hsl(258, 50%, 54%))

hex

background-color: #AF9CDE;

tailwind

bg-[hsl(258,50%,74%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(258, 50%, 74%, 0.4);

css variable

--color-primary: hsl(258, 50%, 74%);

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(258, 50%, 74%)?

HEX: #AF9CDE | RGB: rgb(175, 156, 222) | CMYK: 21%, 30%, 0%, 13% | HSV: 257°, 30%, 87%. Copy any format from the conversion table above.

What colors go well with #AF9CDE?

The complementary color is HSL(78, 50%, 74%). For a triadic harmony, use hues 258°, 18°, and 138°. For analogous combinations, try hues 228° and 288°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(258, 50%, 74%) in CSS?

As HSL: color: hsl(258, 50%, 74%); — As HEX: color: #AF9CDE; — As RGB: color: rgb(175, 156, 222); — Tailwind CSS: bg-[hsl(258,50%,74%)] — CSS variable: --color-primary: hsl(258, 50%, 74%);