HSL(173, 8%, 27%)
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(173,8%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(173, 8%, 27%) | color: hsl(173, 8%, 27%) | |
| HEX | #3F4A49 | color: #3F4A49 | |
| RGB | rgb(63, 74, 73) | color: rgb(63, 74, 73) | |
| CMYK | cmyk(15%, 0%, 1%, 71%) | — | |
| HSV | hsv(175, 15%, 29%) | — | |
| HWB | hwb(175 25% 71%) | color: hwb(175 25% 71%) | |
| OKLCH | oklch(0.399 0.0143 189.91) | color: oklch(0.399 0.0143 189.91) | |
| Lab | lab(30.48 -4.64 -0.89) | color: lab(30.48 -4.64 -0.89) | |
| LCH | lch(30.48 4.72 190.86) | color: lch(30.48 4.72 190.86) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#444449 — rgb(68, 68, 73)
Deuteranopia (Green-blind)
#434249 — rgb(67, 66, 73)
Tritanopia (Blue-blind)
#404949 — rgb(64, 73, 73)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(173, 8%, 27%);
text
color: hsl(173, 8%, 27%);
border
border: 2px solid hsl(173, 8%, 27%);
gradient light
background: linear-gradient(to right, hsl(173, 8%, 47%), hsl(173, 8%, 27%));
gradient dark
background: linear-gradient(to right, hsl(173, 8%, 27%), hsl(173, 8%, 7%))
hex
background-color: #3F4A49;
tailwind
bg-[hsl(173,8%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(173, 8%, 27%, 0.4);
css variable
--color-primary: hsl(173, 8%, 27%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(173, 8%, 27%)?
HEX: #3F4A49 | RGB: rgb(63, 74, 73) | CMYK: 15%, 0%, 1%, 71% | HSV: 175°, 15%, 29%. Copy any format from the conversion table above.
What colors go well with #3F4A49?
The complementary color is HSL(353, 8%, 27%). For a triadic harmony, use hues 173°, 293°, and 53°. For analogous combinations, try hues 143° and 203°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(173, 8%, 27%) in CSS?
As HSL: color: hsl(173, 8%, 27%); — As HEX: color: #3F4A49; — As RGB: color: rgb(63, 74, 73); — Tailwind CSS: bg-[hsl(173,8%,27%)] — CSS variable: --color-primary: hsl(173, 8%, 27%);