HSL(263, 50%, 28%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(263,50%,28%)]

Color Conversions

Format Value CSS Usage
HSL hsl(263, 50%, 28%) color: hsl(263, 50%, 28%)
HEX #3F246B color: #3F246B
RGB rgb(63, 36, 107) color: rgb(63, 36, 107)
CMYK cmyk(41%, 66%, 0%, 58%)
HSV hsv(263, 66%, 42%)
HWB hwb(263 14% 58%) color: hwb(263 14% 58%)
OKLCH oklch(0.3361 0.1182 297.09) color: oklch(0.3361 0.1182 297.09)
Lab lab(21.51 29.77 -36.95) color: lab(21.51 29.77 -36.95)
LCH lch(21.51 47.45 308.86) color: lch(21.51 47.45 308.86)

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 12.53:1
vs Black 1.68: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)

#33335A — rgb(51, 51, 90)

Deuteranopia (Green-blind)

#353756 — rgb(53, 55, 86)

Tritanopia (Blue-blind)

#3E4C49 — rgb(62, 76, 73)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(263, 50%, 28%);

text

color: hsl(263, 50%, 28%);

border

border: 2px solid hsl(263, 50%, 28%);

gradient light

background: linear-gradient(to right, hsl(263, 50%, 48%), hsl(263, 50%, 28%));

gradient dark

background: linear-gradient(to right, hsl(263, 50%, 28%), hsl(263, 50%, 8%))

hex

background-color: #3F246B;

tailwind

bg-[hsl(263,50%,28%)]

box shadow

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

css variable

--color-primary: hsl(263, 50%, 28%);

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, 50%, 28%)?

HEX: #3F246B | RGB: rgb(63, 36, 107) | CMYK: 41%, 66%, 0%, 58% | HSV: 263°, 66%, 42%. Copy any format from the conversion table above.

What colors go well with #3F246B?

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

As HSL: color: hsl(263, 50%, 28%); — As HEX: color: #3F246B; — As RGB: color: rgb(63, 36, 107); — Tailwind CSS: bg-[hsl(263,50%,28%)] — CSS variable: --color-primary: hsl(263, 50%, 28%);