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