HSL(297, 3%, 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(297,3%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 3%, 24%) | color: hsl(297, 3%, 24%) | |
| HEX | #3F3B3F | color: #3F3B3F | |
| RGB | rgb(63, 59, 63) | color: rgb(63, 59, 63) | |
| CMYK | cmyk(0%, 6%, 0%, 75%) | — | |
| HSV | hsv(300, 6%, 25%) | — | |
| HWB | hwb(300 24% 75%) | color: hwb(300 24% 75%) | |
| OKLCH | oklch(0.3578 0.0087 325.76) | color: oklch(0.3578 0.0087 325.76) | |
| Lab | lab(25.39 2.61 -1.85) | color: lab(25.39 2.61 -1.85) | |
| LCH | lch(25.39 3.2 324.67) | color: lch(25.39 3.2 324.67) |
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)
#3D3D3E — rgb(61, 61, 62)
Deuteranopia (Green-blind)
#3E3E3E — rgb(62, 62, 62)
Tritanopia (Blue-blind)
#3F3D3D — rgb(63, 61, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 3%, 24%);
text
color: hsl(297, 3%, 24%);
border
border: 2px solid hsl(297, 3%, 24%);
gradient light
background: linear-gradient(to right, hsl(297, 3%, 44%), hsl(297, 3%, 24%));
gradient dark
background: linear-gradient(to right, hsl(297, 3%, 24%), hsl(297, 3%, 4%))
hex
background-color: #3F3B3F;
tailwind
bg-[hsl(297,3%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 3%, 24%, 0.4);
css variable
--color-primary: hsl(297, 3%, 24%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(297, 3%, 24%)?
HEX: #3F3B3F | RGB: rgb(63, 59, 63) | CMYK: 0%, 6%, 0%, 75% | HSV: 300°, 6%, 25%. Copy any format from the conversion table above.
What colors go well with #3F3B3F?
The complementary color is HSL(117, 3%, 24%). For a triadic harmony, use hues 297°, 57°, and 177°. For analogous combinations, try hues 267° and 327°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(297, 3%, 24%) in CSS?
As HSL: color: hsl(297, 3%, 24%); — As HEX: color: #3F3B3F; — As RGB: color: rgb(63, 59, 63); — Tailwind CSS: bg-[hsl(297,3%,24%)] — CSS variable: --color-primary: hsl(297, 3%, 24%);