HSL(260, 31%, 45%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(260,31%,45%)]

Color Conversions

Format Value CSS Usage
HSL hsl(260, 31%, 45%) color: hsl(260, 31%, 45%)
HEX #674F96 color: #674F96
RGB rgb(103, 79, 150) color: rgb(103, 79, 150)
CMYK cmyk(31%, 47%, 0%, 41%)
HSV hsv(260, 47%, 59%)
HWB hwb(260 31% 41%) color: hwb(260 31% 41%)
OKLCH oklch(0.485 0.1127 297.64) color: oklch(0.485 0.1127 297.64)
Lab lab(39.03 26.18 -35.52) color: lab(39.03 26.18 -35.52)
LCH lch(39.03 44.13 306.39) color: lch(39.03 44.13 306.39)

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 6.7:1
vs Black 3.14:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#5D5C85 — rgb(93, 92, 133)

Deuteranopia (Green-blind)

#5E6081 — rgb(94, 96, 129)

Tritanopia (Blue-blind)

#667774 — rgb(102, 119, 116)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(260, 31%, 45%);

text

color: hsl(260, 31%, 45%);

border

border: 2px solid hsl(260, 31%, 45%);

gradient light

background: linear-gradient(to right, hsl(260, 31%, 65%), hsl(260, 31%, 45%));

gradient dark

background: linear-gradient(to right, hsl(260, 31%, 45%), hsl(260, 31%, 25%))

hex

background-color: #674F96;

tailwind

bg-[hsl(260,31%,45%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(260, 31%, 45%, 0.4);

css variable

--color-primary: hsl(260, 31%, 45%);

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(260, 31%, 45%)?

HEX: #674F96 | RGB: rgb(103, 79, 150) | CMYK: 31%, 47%, 0%, 41% | HSV: 260°, 47%, 59%. Copy any format from the conversion table above.

What colors go well with #674F96?

The complementary color is HSL(80, 31%, 45%). For a triadic harmony, use hues 260°, 20°, and 140°. For analogous combinations, try hues 230° and 290°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(260, 31%, 45%) in CSS?

As HSL: color: hsl(260, 31%, 45%); — As HEX: color: #674F96; — As RGB: color: rgb(103, 79, 150); — Tailwind CSS: bg-[hsl(260,31%,45%)] — CSS variable: --color-primary: hsl(260, 31%, 45%);