HSL(266, 51%, 77%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(266,51%,77%)]

Color Conversions

Format Value CSS Usage
HSL hsl(266, 51%, 77%) color: hsl(266, 51%, 77%)
HEX #C0A6E2 color: #C0A6E2
RGB rgb(192, 166, 226) color: rgb(192, 166, 226)
CMYK cmyk(15%, 27%, 0%, 11%)
HSV hsv(266, 27%, 89%)
HWB hwb(266 65% 11%) color: hwb(266 65% 11%)
OKLCH oklch(0.7686 0.0885 304.19) color: oklch(0.7686 0.0885 304.19)
Lab lab(72.21 20.98 -26.75) color: lab(72.21 20.98 -26.75)
LCH lch(72.21 34 308.11) color: lch(72.21 34 308.11)

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.14:1
vs Black 9.79: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)

#B5B5D3 — rgb(181, 181, 211)

Deuteranopia (Green-blind)

#B6B8D0 — rgb(182, 184, 208)

Tritanopia (Blue-blind)

#BFC8C6 — rgb(191, 200, 198)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(266, 51%, 77%);

text

color: hsl(266, 51%, 77%);

border

border: 2px solid hsl(266, 51%, 77%);

gradient light

background: linear-gradient(to right, hsl(266, 51%, 97%), hsl(266, 51%, 77%));

gradient dark

background: linear-gradient(to right, hsl(266, 51%, 77%), hsl(266, 51%, 57%))

hex

background-color: #C0A6E2;

tailwind

bg-[hsl(266,51%,77%)]

box shadow

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

css variable

--color-primary: hsl(266, 51%, 77%);

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(266, 51%, 77%)?

HEX: #C0A6E2 | RGB: rgb(192, 166, 226) | CMYK: 15%, 27%, 0%, 11% | HSV: 266°, 27%, 89%. Copy any format from the conversion table above.

What colors go well with #C0A6E2?

The complementary color is HSL(86, 51%, 77%). For a triadic harmony, use hues 266°, 26°, and 146°. For analogous combinations, try hues 236° and 296°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(266, 51%, 77%) in CSS?

As HSL: color: hsl(266, 51%, 77%); — As HEX: color: #C0A6E2; — As RGB: color: rgb(192, 166, 226); — Tailwind CSS: bg-[hsl(266,51%,77%)] — CSS variable: --color-primary: hsl(266, 51%, 77%);