HSL(257, 22%, 51%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(257,22%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(257, 22%, 51%) color: hsl(257, 22%, 51%)
HEX #76679E color: #76679E
RGB rgb(118, 103, 158) color: rgb(118, 103, 158)
CMYK cmyk(25%, 35%, 0%, 38%)
HSV hsv(256, 35%, 62%)
HWB hwb(256 40% 38%) color: hwb(256 40% 38%)
OKLCH oklch(0.5502 0.0854 296.01) color: oklch(0.5502 0.0854 296.01)
Lab lab(47 18.16 -27.67) color: lab(47 18.16 -27.67)
LCH lch(47 33.1 303.28) color: lch(47 33.1 303.28)

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

#706F91 — rgb(112, 111, 145)

Deuteranopia (Green-blind)

#70728E — rgb(112, 114, 142)

Tritanopia (Blue-blind)

#758684 — rgb(117, 134, 132)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(257, 22%, 51%);

text

color: hsl(257, 22%, 51%);

border

border: 2px solid hsl(257, 22%, 51%);

gradient light

background: linear-gradient(to right, hsl(257, 22%, 71%), hsl(257, 22%, 51%));

gradient dark

background: linear-gradient(to right, hsl(257, 22%, 51%), hsl(257, 22%, 31%))

hex

background-color: #76679E;

tailwind

bg-[hsl(257,22%,51%)]

box shadow

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

css variable

--color-primary: hsl(257, 22%, 51%);

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, 22%, 51%)?

HEX: #76679E | RGB: rgb(118, 103, 158) | CMYK: 25%, 35%, 0%, 38% | HSV: 256°, 35%, 62%. Copy any format from the conversion table above.

What colors go well with #76679E?

The complementary color is HSL(77, 22%, 51%). 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, 22%, 51%) in CSS?

As HSL: color: hsl(257, 22%, 51%); — As HEX: color: #76679E; — As RGB: color: rgb(118, 103, 158); — Tailwind CSS: bg-[hsl(257,22%,51%)] — CSS variable: --color-primary: hsl(257, 22%, 51%);