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