HSL(257, 70%, 59%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(257,70%,59%)]

Color Conversions

Format Value CSS Usage
HSL hsl(257, 70%, 59%) color: hsl(257, 70%, 59%)
HEX #774DE0 color: #774DE0
RGB rgb(119, 77, 224) color: rgb(119, 77, 224)
CMYK cmyk(47%, 66%, 0%, 12%)
HSV hsv(257, 66%, 88%)
HWB hwb(257 30% 12%) color: hwb(257 30% 12%)
OKLCH oklch(0.549 0.2114 290.91) color: oklch(0.549 0.2114 290.91)
Lab lab(45.1 51.42 -68.97) color: lab(45.1 51.42 -68.97)
LCH lch(45.1 86.03 306.71) color: lch(45.1 86.03 306.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 5.35:1
vs Black 3.92: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)

#6564BC — rgb(101, 100, 188)

Deuteranopia (Green-blind)

#676AB4 — rgb(103, 106, 180)

Tritanopia (Blue-blind)

#75A09A — rgb(117, 160, 154)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(257, 70%, 59%);

text

color: hsl(257, 70%, 59%);

border

border: 2px solid hsl(257, 70%, 59%);

gradient light

background: linear-gradient(to right, hsl(257, 70%, 79%), hsl(257, 70%, 59%));

gradient dark

background: linear-gradient(to right, hsl(257, 70%, 59%), hsl(257, 70%, 39%))

hex

background-color: #774DE0;

tailwind

bg-[hsl(257,70%,59%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(257, 70%, 59%, 0.4);

css variable

--color-primary: hsl(257, 70%, 59%);

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(257, 70%, 59%)?

HEX: #774DE0 | RGB: rgb(119, 77, 224) | CMYK: 47%, 66%, 0%, 12% | HSV: 257°, 66%, 88%. Copy any format from the conversion table above.

What colors go well with #774DE0?

The complementary color is HSL(77, 70%, 59%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(257, 70%, 59%) in CSS?

As HSL: color: hsl(257, 70%, 59%); — As HEX: color: #774DE0; — As RGB: color: rgb(119, 77, 224); — Tailwind CSS: bg-[hsl(257,70%,59%)] — CSS variable: --color-primary: hsl(257, 70%, 59%);