HSL(231, 2%, 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(231,2%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 2%, 24%) | color: hsl(231, 2%, 24%) | |
| HEX | #3C3C3E | color: #3C3C3E | |
| RGB | rgb(60, 60, 62) | color: rgb(60, 60, 62) | |
| CMYK | cmyk(3%, 3%, 0%, 76%) | — | |
| HSV | hsv(240, 3%, 24%) | — | |
| HWB | hwb(240 23% 76%) | color: hwb(240 23% 76%) | |
| OKLCH | oklch(0.3569 0.0034 286.23) | color: oklch(0.3569 0.0034 286.23) | |
| Lab | lab(25.38 0.46 -1.23) | color: lab(25.38 0.46 -1.23) | |
| LCH | lch(25.38 1.31 290.5) | color: lch(25.38 1.31 290.5) |
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)
#3C3C3E — rgb(60, 60, 62)
Deuteranopia (Green-blind)
#3C3C3D — rgb(60, 60, 61)
Tritanopia (Blue-blind)
#3C3D3D — rgb(60, 61, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 2%, 24%);
text
color: hsl(231, 2%, 24%);
border
border: 2px solid hsl(231, 2%, 24%);
gradient light
background: linear-gradient(to right, hsl(231, 2%, 44%), hsl(231, 2%, 24%));
gradient dark
background: linear-gradient(to right, hsl(231, 2%, 24%), hsl(231, 2%, 4%))
hex
background-color: #3C3C3E;
tailwind
bg-[hsl(231,2%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 2%, 24%, 0.4);
css variable
--color-primary: hsl(231, 2%, 24%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(231, 2%, 24%)?
HEX: #3C3C3E | RGB: rgb(60, 60, 62) | CMYK: 3%, 3%, 0%, 76% | HSV: 240°, 3%, 24%. Copy any format from the conversion table above.
What colors go well with #3C3C3E?
The complementary color is HSL(51, 2%, 24%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 2%, 24%) in CSS?
As HSL: color: hsl(231, 2%, 24%); — As HEX: color: #3C3C3E; — As RGB: color: rgb(60, 60, 62); — Tailwind CSS: bg-[hsl(231,2%,24%)] — CSS variable: --color-primary: hsl(231, 2%, 24%);