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
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
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
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
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%);