HSL(277, 20%, 74%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(277,20%,74%)]

Color Conversions

Format Value CSS Usage
HSL hsl(277, 20%, 74%) color: hsl(277, 20%, 74%)
HEX #C0AFCA color: #C0AFCA
RGB rgb(192, 175, 202) color: rgb(192, 175, 202)
CMYK cmyk(5%, 13%, 0%, 21%)
HSV hsv(278, 13%, 79%)
HWB hwb(278 69% 21%) color: hwb(278 69% 21%)
OKLCH oklch(0.7769 0.0421 313.13) color: oklch(0.7769 0.0421 313.13)
Lab lab(73.63 11.08 -11.46) color: lab(73.63 11.08 -11.46)
LCH lch(73.63 15.94 314.03) color: lch(73.63 15.94 314.03)

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.05:1
vs Black 10.23: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)

#B9B8C3 — rgb(185, 184, 195)

Deuteranopia (Green-blind)

#BABBC2 — rgb(186, 187, 194)

Tritanopia (Blue-blind)

#BFBEBD — rgb(191, 190, 189)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(277, 20%, 74%);

text

color: hsl(277, 20%, 74%);

border

border: 2px solid hsl(277, 20%, 74%);

gradient light

background: linear-gradient(to right, hsl(277, 20%, 94%), hsl(277, 20%, 74%));

gradient dark

background: linear-gradient(to right, hsl(277, 20%, 74%), hsl(277, 20%, 54%))

hex

background-color: #C0AFCA;

tailwind

bg-[hsl(277,20%,74%)]

box shadow

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

css variable

--color-primary: hsl(277, 20%, 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(277, 20%, 74%)?

HEX: #C0AFCA | RGB: rgb(192, 175, 202) | CMYK: 5%, 13%, 0%, 21% | HSV: 278°, 13%, 79%. Copy any format from the conversion table above.

What colors go well with #C0AFCA?

The complementary color is HSL(97, 20%, 74%). For a triadic harmony, use hues 277°, 37°, and 157°. For analogous combinations, try hues 247° and 307°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(277, 20%, 74%) in CSS?

As HSL: color: hsl(277, 20%, 74%); — As HEX: color: #C0AFCA; — As RGB: color: rgb(192, 175, 202); — Tailwind CSS: bg-[hsl(277,20%,74%)] — CSS variable: --color-primary: hsl(277, 20%, 74%);