HSL(282, 15%, 31%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(282,15%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(282, 15%, 31%) color: hsl(282, 15%, 31%)
HEX #54435B color: #54435B
RGB rgb(84, 67, 91) color: rgb(84, 67, 91)
CMYK cmyk(8%, 26%, 0%, 64%)
HSV hsv(283, 26%, 36%)
HWB hwb(283 27% 64%) color: hwb(283 27% 64%)
OKLCH oklch(0.41 0.0448 315.96) color: oklch(0.41 0.0448 315.96)
Lab lab(31.01 12.33 -11.48) color: lab(31.01 12.33 -11.48)
LCH lch(31.01 16.85 317.04) color: lch(31.01 16.85 317.04)

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 9.01:1
vs Black 2.33: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)

#4D4C55 — rgb(77, 76, 85)

Deuteranopia (Green-blind)

#4E4F54 — rgb(78, 79, 84)

Tritanopia (Blue-blind)

#535150 — rgb(83, 81, 80)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(282, 15%, 31%);

text

color: hsl(282, 15%, 31%);

border

border: 2px solid hsl(282, 15%, 31%);

gradient light

background: linear-gradient(to right, hsl(282, 15%, 51%), hsl(282, 15%, 31%));

gradient dark

background: linear-gradient(to right, hsl(282, 15%, 31%), hsl(282, 15%, 11%))

hex

background-color: #54435B;

tailwind

bg-[hsl(282,15%,31%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(282, 15%, 31%, 0.4);

css variable

--color-primary: hsl(282, 15%, 31%);

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(282, 15%, 31%)?

HEX: #54435B | RGB: rgb(84, 67, 91) | CMYK: 8%, 26%, 0%, 64% | HSV: 283°, 26%, 36%. Copy any format from the conversion table above.

What colors go well with #54435B?

The complementary color is HSL(102, 15%, 31%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(282, 15%, 31%) in CSS?

As HSL: color: hsl(282, 15%, 31%); — As HEX: color: #54435B; — As RGB: color: rgb(84, 67, 91); — Tailwind CSS: bg-[hsl(282,15%,31%)] — CSS variable: --color-primary: hsl(282, 15%, 31%);