HSL(162, 7%, 25%)
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(162,7%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(162, 7%, 25%) | color: hsl(162, 7%, 25%) | |
| HEX | #3B4442 | color: #3B4442 | |
| RGB | rgb(59, 68, 66) | color: rgb(59, 68, 66) | |
| CMYK | cmyk(13%, 0%, 3%, 73%) | — | |
| HSV | hsv(167, 13%, 27%) | — | |
| HWB | hwb(167 23% 73%) | color: hwb(167 23% 73%) | |
| OKLCH | oklch(0.3778 0.0123 180.76) | color: oklch(0.3778 0.0123 180.76) | |
| Lab | lab(28 -4.15 -0.04) | color: lab(28 -4.15 -0.04) | |
| LCH | lch(28 4.15 180.55) | color: lch(28 4.15 180.55) |
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)
#3F3F42 — rgb(63, 63, 66)
Deuteranopia (Green-blind)
#3E3E43 — rgb(62, 62, 67)
Tritanopia (Blue-blind)
#3B4343 — rgb(59, 67, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(162, 7%, 25%);
text
color: hsl(162, 7%, 25%);
border
border: 2px solid hsl(162, 7%, 25%);
gradient light
background: linear-gradient(to right, hsl(162, 7%, 45%), hsl(162, 7%, 25%));
gradient dark
background: linear-gradient(to right, hsl(162, 7%, 25%), hsl(162, 7%, 5%))
hex
background-color: #3B4442;
tailwind
bg-[hsl(162,7%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(162, 7%, 25%, 0.4);
css variable
--color-primary: hsl(162, 7%, 25%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(162, 7%, 25%)?
HEX: #3B4442 | RGB: rgb(59, 68, 66) | CMYK: 13%, 0%, 3%, 73% | HSV: 167°, 13%, 27%. Copy any format from the conversion table above.
What colors go well with #3B4442?
The complementary color is HSL(342, 7%, 25%). For a triadic harmony, use hues 162°, 282°, and 42°. For analogous combinations, try hues 132° and 192°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(162, 7%, 25%) in CSS?
As HSL: color: hsl(162, 7%, 25%); — As HEX: color: #3B4442; — As RGB: color: rgb(59, 68, 66); — Tailwind CSS: bg-[hsl(162,7%,25%)] — CSS variable: --color-primary: hsl(162, 7%, 25%);