HSL(263, 40%, 74%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(263, 40%, 74%) color: hsl(263, 40%, 74%)
HEX #B7A2D7 color: #B7A2D7
RGB rgb(183, 162, 215) color: rgb(183, 162, 215)
CMYK cmyk(15%, 25%, 0%, 16%)
HSV hsv(264, 25%, 84%)
HWB hwb(264 63% 16%) color: hwb(264 63% 16%)
OKLCH oklch(0.7487 0.0782 302.66) color: oklch(0.7487 0.0782 302.66)
Lab lab(70.05 17.98 -24.09) color: lab(70.05 17.98 -24.09)
LCH lch(70.05 30.06 306.74) color: lch(70.05 30.06 306.74)

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.29:1
vs Black 9.16: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)

#AEAECA — rgb(174, 174, 202)

Deuteranopia (Green-blind)

#AFB1C7 — rgb(175, 177, 199)

Tritanopia (Blue-blind)

#B6C0BE — rgb(182, 192, 190)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #B7A2D7;

tailwind

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

box shadow

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

css variable

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

HEX: #B7A2D7 | RGB: rgb(183, 162, 215) | CMYK: 15%, 25%, 0%, 16% | HSV: 264°, 25%, 84%. Copy any format from the conversion table above.

What colors go well with #B7A2D7?

The complementary color is HSL(83, 40%, 74%). For a triadic harmony, use hues 263°, 23°, and 143°. For analogous combinations, try hues 233° and 293°. See the Color Harmony section above for complete palettes with previews.

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

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