HSL(283, 17%, 22%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(283,17%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(283, 17%, 22%) color: hsl(283, 17%, 22%)
HEX #3C2F42 color: #3C2F42
RGB rgb(60, 47, 66) color: rgb(60, 47, 66)
CMYK cmyk(9%, 29%, 0%, 74%)
HSV hsv(281, 29%, 26%)
HWB hwb(281 18% 74%) color: hwb(281 18% 74%)
OKLCH oklch(0.3275 0.0372 314.98) color: oklch(0.3275 0.0372 314.98)
Lab lab(21.53 10.14 -9.68) color: lab(21.53 10.14 -9.68)
LCH lch(21.53 14.02 316.33) color: lch(21.53 14.02 316.33)

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.52: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)

#36363D — rgb(54, 54, 61)

Deuteranopia (Green-blind)

#37383C — rgb(55, 56, 60)

Tritanopia (Blue-blind)

#3B3A39 — rgb(59, 58, 57)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(283, 17%, 22%);

text

color: hsl(283, 17%, 22%);

border

border: 2px solid hsl(283, 17%, 22%);

gradient light

background: linear-gradient(to right, hsl(283, 17%, 42%), hsl(283, 17%, 22%));

gradient dark

background: linear-gradient(to right, hsl(283, 17%, 22%), hsl(283, 17%, 2%))

hex

background-color: #3C2F42;

tailwind

bg-[hsl(283,17%,22%)]

box shadow

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

css variable

--color-primary: hsl(283, 17%, 22%);

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(283, 17%, 22%)?

HEX: #3C2F42 | RGB: rgb(60, 47, 66) | CMYK: 9%, 29%, 0%, 74% | HSV: 281°, 29%, 26%. Copy any format from the conversion table above.

What colors go well with #3C2F42?

The complementary color is HSL(103, 17%, 22%). For a triadic harmony, use hues 283°, 43°, and 163°. For analogous combinations, try hues 253° and 313°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(283, 17%, 22%) in CSS?

As HSL: color: hsl(283, 17%, 22%); — As HEX: color: #3C2F42; — As RGB: color: rgb(60, 47, 66); — Tailwind CSS: bg-[hsl(283,17%,22%)] — CSS variable: --color-primary: hsl(283, 17%, 22%);