HSL(128, 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(128,8%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(128, 8%, 27%) | color: hsl(128, 8%, 27%) | |
| HEX | #3F4A41 | color: #3F4A41 | |
| RGB | rgb(63, 74, 65) | color: rgb(63, 74, 65) | |
| CMYK | cmyk(15%, 0%, 12%, 71%) | — | |
| HSV | hsv(131, 15%, 29%) | — | |
| HWB | hwb(131 25% 71%) | color: hwb(131 25% 71%) | |
| OKLCH | oklch(0.3963 0.0206 150.58) | color: oklch(0.3963 0.0206 150.58) | |
| Lab | lab(30.24 -6.49 3.9) | color: lab(30.24 -6.49 3.9) | |
| LCH | lch(30.24 7.57 149) | color: lch(30.24 7.57 149) |
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)
#444443 — rgb(68, 68, 67)
Deuteranopia (Green-blind)
#434244 — rgb(67, 66, 68)
Tritanopia (Blue-blind)
#404545 — rgb(64, 69, 69)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(128, 8%, 27%);
text
color: hsl(128, 8%, 27%);
border
border: 2px solid hsl(128, 8%, 27%);
gradient light
background: linear-gradient(to right, hsl(128, 8%, 47%), hsl(128, 8%, 27%));
gradient dark
background: linear-gradient(to right, hsl(128, 8%, 27%), hsl(128, 8%, 7%))
hex
background-color: #3F4A41;
tailwind
bg-[hsl(128,8%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(128, 8%, 27%, 0.4);
css variable
--color-primary: hsl(128, 8%, 27%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(128, 8%, 27%)?
HEX: #3F4A41 | RGB: rgb(63, 74, 65) | CMYK: 15%, 0%, 12%, 71% | HSV: 131°, 15%, 29%. Copy any format from the conversion table above.
What colors go well with #3F4A41?
The complementary color is HSL(308, 8%, 27%). For a triadic harmony, use hues 128°, 248°, and 8°. For analogous combinations, try hues 98° and 158°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(128, 8%, 27%) in CSS?
As HSL: color: hsl(128, 8%, 27%); — As HEX: color: #3F4A41; — As RGB: color: rgb(63, 74, 65); — Tailwind CSS: bg-[hsl(128,8%,27%)] — CSS variable: --color-primary: hsl(128, 8%, 27%);