HSL(240, 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(240,7%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(240, 7%, 25%) | color: hsl(240, 7%, 25%) | |
| HEX | #3B3B44 | color: #3B3B44 | |
| RGB | rgb(59, 59, 68) | color: rgb(59, 59, 68) | |
| CMYK | cmyk(13%, 13%, 0%, 73%) | — | |
| HSV | hsv(240, 13%, 27%) | — | |
| HWB | hwb(240 23% 73%) | color: hwb(240 23% 73%) | |
| OKLCH | oklch(0.3558 0.0155 285.59) | color: oklch(0.3558 0.0155 285.59) | |
| Lab | lab(25.18 2.16 -5.52) | color: lab(25.18 2.16 -5.52) | |
| LCH | lch(25.18 5.93 291.37) | color: lch(25.18 5.93 291.37) |
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)
#3B3B42 — rgb(59, 59, 66)
Deuteranopia (Green-blind)
#3B3B41 — rgb(59, 59, 65)
Tritanopia (Blue-blind)
#3B4040 — rgb(59, 64, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(240, 7%, 25%);
text
color: hsl(240, 7%, 25%);
border
border: 2px solid hsl(240, 7%, 25%);
gradient light
background: linear-gradient(to right, hsl(240, 7%, 45%), hsl(240, 7%, 25%));
gradient dark
background: linear-gradient(to right, hsl(240, 7%, 25%), hsl(240, 7%, 5%))
hex
background-color: #3B3B44;
tailwind
bg-[hsl(240,7%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(240, 7%, 25%, 0.4);
css variable
--color-primary: hsl(240, 7%, 25%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(240, 7%, 25%)?
HEX: #3B3B44 | RGB: rgb(59, 59, 68) | CMYK: 13%, 13%, 0%, 73% | HSV: 240°, 13%, 27%. Copy any format from the conversion table above.
What colors go well with #3B3B44?
The complementary color is HSL(60, 7%, 25%). For a triadic harmony, use hues 240°, 0°, and 120°. For analogous combinations, try hues 210° and 270°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(240, 7%, 25%) in CSS?
As HSL: color: hsl(240, 7%, 25%); — As HEX: color: #3B3B44; — As RGB: color: rgb(59, 59, 68); — Tailwind CSS: bg-[hsl(240,7%,25%)] — CSS variable: --color-primary: hsl(240, 7%, 25%);