HSL(272, 40%, 74%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(272,40%,74%)]

Color Conversions

Format Value CSS Usage
HSL hsl(272, 40%, 74%) color: hsl(272, 40%, 74%)
HEX #BEA2D7 color: #BEA2D7
RGB rgb(190, 162, 215) color: rgb(190, 162, 215)
CMYK cmyk(12%, 25%, 0%, 16%)
HSV hsv(272, 25%, 84%)
HWB hwb(272 63% 16%) color: hwb(272 63% 16%)
OKLCH oklch(0.7549 0.0804 308.51) color: oklch(0.7549 0.0804 308.51)
Lab lab(70.66 20.22 -23.1) color: lab(70.66 20.22 -23.1)
LCH lch(70.66 30.7 311.2) color: lch(70.66 30.7 311.2)

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.25:1
vs Black 9.34: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)

#B2B2CA — rgb(178, 178, 202)

Deuteranopia (Green-blind)

#B4B6C7 — rgb(180, 182, 199)

Tritanopia (Blue-blind)

#BDC0BE — rgb(189, 192, 190)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(272, 40%, 74%);

text

color: hsl(272, 40%, 74%);

border

border: 2px solid hsl(272, 40%, 74%);

gradient light

background: linear-gradient(to right, hsl(272, 40%, 94%), hsl(272, 40%, 74%));

gradient dark

background: linear-gradient(to right, hsl(272, 40%, 74%), hsl(272, 40%, 54%))

hex

background-color: #BEA2D7;

tailwind

bg-[hsl(272,40%,74%)]

box shadow

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

css variable

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

HEX: #BEA2D7 | RGB: rgb(190, 162, 215) | CMYK: 12%, 25%, 0%, 16% | HSV: 272°, 25%, 84%. Copy any format from the conversion table above.

What colors go well with #BEA2D7?

The complementary color is HSL(92, 40%, 74%). For a triadic harmony, use hues 272°, 32°, and 152°. For analogous combinations, try hues 242° and 302°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(272, 40%, 74%) in CSS?

As HSL: color: hsl(272, 40%, 74%); — As HEX: color: #BEA2D7; — As RGB: color: rgb(190, 162, 215); — Tailwind CSS: bg-[hsl(272,40%,74%)] — CSS variable: --color-primary: hsl(272, 40%, 74%);