HSL(247, 2%, 60%)
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(247,2%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 2%, 60%) | color: hsl(247, 2%, 60%) | |
| HEX | #97979B | color: #97979B | |
| RGB | rgb(151, 151, 155) | color: rgb(151, 151, 155) | |
| CMYK | cmyk(3%, 3%, 0%, 39%) | — | |
| HSV | hsv(240, 3%, 61%) | — | |
| HWB | hwb(240 59% 39%) | color: hwb(240 59% 39%) | |
| OKLCH | oklch(0.6776 0.0058 286.24) | color: oklch(0.6776 0.0058 286.24) | |
| Lab | lab(62.57 0.78 -2.1) | color: lab(62.57 0.78 -2.1) | |
| LCH | lch(62.57 2.24 290.38) | color: lch(62.57 2.24 290.38) |
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)
#97979A — rgb(151, 151, 154)
Deuteranopia (Green-blind)
#97979A — rgb(151, 151, 154)
Tritanopia (Blue-blind)
#979999 — rgb(151, 153, 153)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 2%, 60%);
text
color: hsl(247, 2%, 60%);
border
border: 2px solid hsl(247, 2%, 60%);
gradient light
background: linear-gradient(to right, hsl(247, 2%, 80%), hsl(247, 2%, 60%));
gradient dark
background: linear-gradient(to right, hsl(247, 2%, 60%), hsl(247, 2%, 40%))
hex
background-color: #97979B;
tailwind
bg-[hsl(247,2%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 2%, 60%, 0.4);
css variable
--color-primary: hsl(247, 2%, 60%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(247, 2%, 60%)?
HEX: #97979B | RGB: rgb(151, 151, 155) | CMYK: 3%, 3%, 0%, 39% | HSV: 240°, 3%, 61%. Copy any format from the conversion table above.
What colors go well with #97979B?
The complementary color is HSL(67, 2%, 60%). For a triadic harmony, use hues 247°, 7°, and 127°. For analogous combinations, try hues 217° and 277°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(247, 2%, 60%) in CSS?
As HSL: color: hsl(247, 2%, 60%); — As HEX: color: #97979B; — As RGB: color: rgb(151, 151, 155); — Tailwind CSS: bg-[hsl(247,2%,60%)] — CSS variable: --color-primary: hsl(247, 2%, 60%);