HSL(255, 68%, 84%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(255,68%,84%)]

Color Conversions

Format Value CSS Usage
HSL hsl(255, 68%, 84%) color: hsl(255, 68%, 84%)
HEX #C8BAF2 color: #C8BAF2
RGB rgb(200, 186, 242) color: rgb(200, 186, 242)
CMYK cmyk(17%, 23%, 0%, 5%)
HSV hsv(255, 23%, 95%)
HWB hwb(255 73% 5%) color: hwb(255 73% 5%)
OKLCH oklch(0.8194 0.0791 296.07) color: oklch(0.8194 0.0791 296.07)
Lab lab(78.35 15.96 -25.96) color: lab(78.35 15.96 -25.96)
LCH lch(78.35 30.47 301.58) color: lch(78.35 30.47 301.58)

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

#C2C2E4 — rgb(194, 194, 228)

Deuteranopia (Green-blind)

#C3C4E1 — rgb(195, 196, 225)

Tritanopia (Blue-blind)

#C7DAD7 — rgb(199, 218, 215)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(255, 68%, 84%);

text

color: hsl(255, 68%, 84%);

border

border: 2px solid hsl(255, 68%, 84%);

gradient light

background: linear-gradient(to right, hsl(255, 68%, 100%), hsl(255, 68%, 84%));

gradient dark

background: linear-gradient(to right, hsl(255, 68%, 84%), hsl(255, 68%, 64%))

hex

background-color: #C8BAF2;

tailwind

bg-[hsl(255,68%,84%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(255, 68%, 84%, 0.4);

css variable

--color-primary: hsl(255, 68%, 84%);

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(255, 68%, 84%)?

HEX: #C8BAF2 | RGB: rgb(200, 186, 242) | CMYK: 17%, 23%, 0%, 5% | HSV: 255°, 23%, 95%. Copy any format from the conversion table above.

What colors go well with #C8BAF2?

The complementary color is HSL(75, 68%, 84%). For a triadic harmony, use hues 255°, 15°, and 135°. For analogous combinations, try hues 225° and 285°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(255, 68%, 84%) in CSS?

As HSL: color: hsl(255, 68%, 84%); — As HEX: color: #C8BAF2; — As RGB: color: rgb(200, 186, 242); — Tailwind CSS: bg-[hsl(255,68%,84%)] — CSS variable: --color-primary: hsl(255, 68%, 84%);