HSL(249, 9%, 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(249,9%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(249, 9%, 24%) | color: hsl(249, 9%, 24%) | |
| HEX | #393843 | color: #393843 | |
| RGB | rgb(57, 56, 67) | color: rgb(57, 56, 67) | |
| CMYK | cmyk(15%, 16%, 0%, 74%) | — | |
| HSV | hsv(245, 16%, 26%) | — | |
| HWB | hwb(245 22% 74%) | color: hwb(245 22% 74%) | |
| OKLCH | oklch(0.3461 0.019 289.53) | color: oklch(0.3461 0.019 289.53) | |
| Lab | lab(24.01 3.1 -6.63) | color: lab(24.01 3.1 -6.63) | |
| LCH | lch(24.01 7.32 295.06) | color: lch(24.01 7.32 295.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: white
Color Blindness Simulation
Protanopia (Red-blind)
#393940 — rgb(57, 57, 64)
Deuteranopia (Green-blind)
#393940 — rgb(57, 57, 64)
Tritanopia (Blue-blind)
#393E3E — rgb(57, 62, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(249, 9%, 24%);
text
color: hsl(249, 9%, 24%);
border
border: 2px solid hsl(249, 9%, 24%);
gradient light
background: linear-gradient(to right, hsl(249, 9%, 44%), hsl(249, 9%, 24%));
gradient dark
background: linear-gradient(to right, hsl(249, 9%, 24%), hsl(249, 9%, 4%))
hex
background-color: #393843;
tailwind
bg-[hsl(249,9%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(249, 9%, 24%, 0.4);
css variable
--color-primary: hsl(249, 9%, 24%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(249, 9%, 24%)?
HEX: #393843 | RGB: rgb(57, 56, 67) | CMYK: 15%, 16%, 0%, 74% | HSV: 245°, 16%, 26%. Copy any format from the conversion table above.
What colors go well with #393843?
The complementary color is HSL(69, 9%, 24%). For a triadic harmony, use hues 249°, 9°, and 129°. For analogous combinations, try hues 219° and 279°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(249, 9%, 24%) in CSS?
As HSL: color: hsl(249, 9%, 24%); — As HEX: color: #393843; — As RGB: color: rgb(57, 56, 67); — Tailwind CSS: bg-[hsl(249,9%,24%)] — CSS variable: --color-primary: hsl(249, 9%, 24%);