HSL(218, 3%, 62%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(218,3%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(218, 3%, 62%) | color: hsl(218, 3%, 62%) | |
| HEX | #9B9DA1 | color: #9B9DA1 | |
| RGB | rgb(155, 157, 161) | color: rgb(155, 157, 161) | |
| CMYK | cmyk(4%, 2%, 0%, 37%) | — | |
| HSV | hsv(220, 4%, 63%) | — | |
| HWB | hwb(220 60% 37%) | color: hwb(220 60% 37%) | |
| OKLCH | oklch(0.6956 0.0063 264.52) | color: oklch(0.6956 0.0063 264.52) | |
| Lab | lab(64.69 0.06 -2.33) | color: lab(64.69 0.06 -2.33) | |
| LCH | lch(64.69 2.33 271.48) | color: lch(64.69 2.33 271.48) |
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)
#9C9CA0 — rgb(156, 156, 160)
Deuteranopia (Green-blind)
#9C9CA0 — rgb(156, 156, 160)
Tritanopia (Blue-blind)
#9B9F9F — rgb(155, 159, 159)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(218, 3%, 62%);
text
color: hsl(218, 3%, 62%);
border
border: 2px solid hsl(218, 3%, 62%);
gradient light
background: linear-gradient(to right, hsl(218, 3%, 82%), hsl(218, 3%, 62%));
gradient dark
background: linear-gradient(to right, hsl(218, 3%, 62%), hsl(218, 3%, 42%))
hex
background-color: #9B9DA1;
tailwind
bg-[hsl(218,3%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(218, 3%, 62%, 0.4);
css variable
--color-primary: hsl(218, 3%, 62%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(218, 3%, 62%)?
HEX: #9B9DA1 | RGB: rgb(155, 157, 161) | CMYK: 4%, 2%, 0%, 37% | HSV: 220°, 4%, 63%. Copy any format from the conversion table above.
What colors go well with #9B9DA1?
The complementary color is HSL(38, 3%, 62%). For a triadic harmony, use hues 218°, 338°, and 98°. For analogous combinations, try hues 188° and 248°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(218, 3%, 62%) in CSS?
As HSL: color: hsl(218, 3%, 62%); — As HEX: color: #9B9DA1; — As RGB: color: rgb(155, 157, 161); — Tailwind CSS: bg-[hsl(218,3%,62%)] — CSS variable: --color-primary: hsl(218, 3%, 62%);