HSL(221, 7%, 24%)
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(221,7%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 7%, 24%) | color: hsl(221, 7%, 24%) | |
| HEX | #393C41 | color: #393C41 | |
| RGB | rgb(57, 60, 65) | color: rgb(57, 60, 65) | |
| CMYK | cmyk(12%, 8%, 0%, 75%) | — | |
| HSV | hsv(218, 12%, 25%) | — | |
| HWB | hwb(218 22% 75%) | color: hwb(218 22% 75%) | |
| OKLCH | oklch(0.3552 0.0096 260.72) | color: oklch(0.3552 0.0096 260.72) | |
| Lab | lab(25.21 -0.06 -3.51) | color: lab(25.21 -0.06 -3.51) | |
| LCH | lch(25.21 3.51 269.02) | color: lch(25.21 3.51 269.02) |
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)
#3A3A40 — rgb(58, 58, 64)
Deuteranopia (Green-blind)
#3A3A40 — rgb(58, 58, 64)
Tritanopia (Blue-blind)
#393F3F — rgb(57, 63, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 7%, 24%);
text
color: hsl(221, 7%, 24%);
border
border: 2px solid hsl(221, 7%, 24%);
gradient light
background: linear-gradient(to right, hsl(221, 7%, 44%), hsl(221, 7%, 24%));
gradient dark
background: linear-gradient(to right, hsl(221, 7%, 24%), hsl(221, 7%, 4%))
hex
background-color: #393C41;
tailwind
bg-[hsl(221,7%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 7%, 24%, 0.4);
css variable
--color-primary: hsl(221, 7%, 24%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(221, 7%, 24%)?
HEX: #393C41 | RGB: rgb(57, 60, 65) | CMYK: 12%, 8%, 0%, 75% | HSV: 218°, 12%, 25%. Copy any format from the conversion table above.
What colors go well with #393C41?
The complementary color is HSL(41, 7%, 24%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(221, 7%, 24%) in CSS?
As HSL: color: hsl(221, 7%, 24%); — As HEX: color: #393C41; — As RGB: color: rgb(57, 60, 65); — Tailwind CSS: bg-[hsl(221,7%,24%)] — CSS variable: --color-primary: hsl(221, 7%, 24%);