HSL(263, 40%, 38%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(263, 40%, 38%) color: hsl(263, 40%, 38%)
HEX #583A88 color: #583A88
RGB rgb(88, 58, 136) color: rgb(88, 58, 136)
CMYK cmyk(35%, 57%, 0%, 47%)
HSV hsv(263, 57%, 53%)
HWB hwb(263 23% 47%) color: hwb(263 23% 47%)
OKLCH oklch(0.4227 0.1259 298.63) color: oklch(0.4227 0.1259 298.63)
Lab lab(31.53 31.03 -39.02) color: lab(31.53 31.03 -39.02)
LCH lch(31.53 49.85 308.49) color: lch(31.53 49.85 308.49)

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 8.84:1
vs Black 2.38: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)

#4B4B75 — rgb(75, 75, 117)

Deuteranopia (Green-blind)

#4D4F71 — rgb(77, 79, 113)

Tritanopia (Blue-blind)

#576663 — rgb(87, 102, 99)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #583A88;

tailwind

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

box shadow

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

css variable

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

HEX: #583A88 | RGB: rgb(88, 58, 136) | CMYK: 35%, 57%, 0%, 47% | HSV: 263°, 57%, 53%. Copy any format from the conversion table above.

What colors go well with #583A88?

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

As HSL: color: hsl(263, 40%, 38%); — As HEX: color: #583A88; — As RGB: color: rgb(88, 58, 136); — Tailwind CSS: bg-[hsl(263,40%,38%)] — CSS variable: --color-primary: hsl(263, 40%, 38%);