HSL(263, 22%, 38%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(263,22%,38%)]

Color Conversions

Format Value CSS Usage
HSL hsl(263, 22%, 38%) color: hsl(263, 22%, 38%)
HEX #5C4C76 color: #5C4C76
RGB rgb(92, 76, 118) color: rgb(92, 76, 118)
CMYK cmyk(22%, 36%, 0%, 54%)
HSV hsv(263, 36%, 46%)
HWB hwb(263 29% 54%) color: hwb(263 29% 54%)
OKLCH oklch(0.4503 0.0696 301.16) color: oklch(0.4503 0.0696 301.16)
Lab lab(35.5 16.13 -21.54) color: lab(35.5 16.13 -21.54)
LCH lch(35.5 26.91 306.83) color: lch(35.5 26.91 306.83)

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 7.64:1
vs Black 2.75:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#55556C — rgb(85, 85, 108)

Deuteranopia (Green-blind)

#565769 — rgb(86, 87, 105)

Tritanopia (Blue-blind)

#5B6462 — rgb(91, 100, 98)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(263, 22%, 38%);

text

color: hsl(263, 22%, 38%);

border

border: 2px solid hsl(263, 22%, 38%);

gradient light

background: linear-gradient(to right, hsl(263, 22%, 58%), hsl(263, 22%, 38%));

gradient dark

background: linear-gradient(to right, hsl(263, 22%, 38%), hsl(263, 22%, 18%))

hex

background-color: #5C4C76;

tailwind

bg-[hsl(263,22%,38%)]

box shadow

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

css variable

--color-primary: hsl(263, 22%, 38%);

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, 22%, 38%)?

HEX: #5C4C76 | RGB: rgb(92, 76, 118) | CMYK: 22%, 36%, 0%, 54% | HSV: 263°, 36%, 46%. Copy any format from the conversion table above.

What colors go well with #5C4C76?

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

As HSL: color: hsl(263, 22%, 38%); — As HEX: color: #5C4C76; — As RGB: color: rgb(92, 76, 118); — Tailwind CSS: bg-[hsl(263,22%,38%)] — CSS variable: --color-primary: hsl(263, 22%, 38%);