HSL(263, 24%, 54%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(263,24%,54%)]

Color Conversions

Format Value CSS Usage
HSL hsl(263, 24%, 54%) color: hsl(263, 24%, 54%)
HEX #836EA6 color: #836EA6
RGB rgb(131, 110, 166) color: rgb(131, 110, 166)
CMYK cmyk(21%, 34%, 0%, 35%)
HSV hsv(263, 34%, 65%)
HWB hwb(263 43% 35%) color: hwb(263 43% 35%)
OKLCH oklch(0.58 0.0871 300.96) color: oklch(0.58 0.0871 300.96)
Lab lab(50.37 20.07 -27.04) color: lab(50.37 20.07 -27.04)
LCH lch(50.37 33.67 306.58) color: lch(50.37 33.67 306.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 4.42:1
vs Black 4.75:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#7A7A98 — rgb(122, 122, 152)

Deuteranopia (Green-blind)

#7B7D95 — rgb(123, 125, 149)

Tritanopia (Blue-blind)

#828E8B — rgb(130, 142, 139)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(263, 24%, 54%);

text

color: hsl(263, 24%, 54%);

border

border: 2px solid hsl(263, 24%, 54%);

gradient light

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

gradient dark

background: linear-gradient(to right, hsl(263, 24%, 54%), hsl(263, 24%, 34%))

hex

background-color: #836EA6;

tailwind

bg-[hsl(263,24%,54%)]

box shadow

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

css variable

--color-primary: hsl(263, 24%, 54%);

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, 24%, 54%)?

HEX: #836EA6 | RGB: rgb(131, 110, 166) | CMYK: 21%, 34%, 0%, 35% | HSV: 263°, 34%, 65%. Copy any format from the conversion table above.

What colors go well with #836EA6?

The complementary color is HSL(83, 24%, 54%). 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, 24%, 54%) in CSS?

As HSL: color: hsl(263, 24%, 54%); — As HEX: color: #836EA6; — As RGB: color: rgb(131, 110, 166); — Tailwind CSS: bg-[hsl(263,24%,54%)] — CSS variable: --color-primary: hsl(263, 24%, 54%);