HSL(282, 10%, 59%)

Grayish Indigo — Indigo color

Adjust Color

Color Information

Color Name

Grayish Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(282,10%,59%)]

Color Conversions

Format Value CSS Usage
HSL hsl(282, 10%, 59%) color: hsl(282, 10%, 59%)
HEX #9B8CA1 color: #9B8CA1
RGB rgb(155, 140, 161) color: rgb(155, 140, 161)
CMYK cmyk(4%, 13%, 0%, 37%)
HSV hsv(283, 13%, 63%)
HWB hwb(283 55% 37%) color: hwb(283 55% 37%)
OKLCH oklch(0.6602 0.0351 316.37) color: oklch(0.6602 0.0351 316.37)
Lab lab(60.16 9.61 -9.05) color: lab(60.16 9.61 -9.05)
LCH lch(60.16 13.2 316.72) color: lch(60.16 13.2 316.72)

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 3.15:1
vs Black 6.66:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#95949C — rgb(149, 148, 156)

Deuteranopia (Green-blind)

#95979B — rgb(149, 151, 155)

Tritanopia (Blue-blind)

#9A9897 — rgb(154, 152, 151)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(282, 10%, 59%);

text

color: hsl(282, 10%, 59%);

border

border: 2px solid hsl(282, 10%, 59%);

gradient light

background: linear-gradient(to right, hsl(282, 10%, 79%), hsl(282, 10%, 59%));

gradient dark

background: linear-gradient(to right, hsl(282, 10%, 59%), hsl(282, 10%, 39%))

hex

background-color: #9B8CA1;

tailwind

bg-[hsl(282,10%,59%)]

box shadow

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

css variable

--color-primary: hsl(282, 10%, 59%);

Related Colors

Use Cases for Grayish Indigo

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(282, 10%, 59%)?

HEX: #9B8CA1 | RGB: rgb(155, 140, 161) | CMYK: 4%, 13%, 0%, 37% | HSV: 283°, 13%, 63%. Copy any format from the conversion table above.

What colors go well with #9B8CA1?

The complementary color is HSL(102, 10%, 59%). 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, 10%, 59%) in CSS?

As HSL: color: hsl(282, 10%, 59%); — As HEX: color: #9B8CA1; — As RGB: color: rgb(155, 140, 161); — Tailwind CSS: bg-[hsl(282,10%,59%)] — CSS variable: --color-primary: hsl(282, 10%, 59%);