HSL(302, 3%, 22%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(302,3%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 3%, 22%) | color: hsl(302, 3%, 22%) | |
| HEX | #3A363A | color: #3A363A | |
| RGB | rgb(58, 54, 58) | color: rgb(58, 54, 58) | |
| CMYK | cmyk(0%, 7%, 0%, 77%) | — | |
| HSV | hsv(300, 7%, 23%) | — | |
| HWB | hwb(300 21% 77%) | color: hwb(300 21% 77%) | |
| OKLCH | oklch(0.3385 0.0088 325.77) | color: oklch(0.3385 0.0088 325.77) | |
| Lab | lab(23.15 2.65 -1.87) | color: lab(23.15 2.65 -1.87) | |
| LCH | lch(23.15 3.24 324.79) | color: lch(23.15 3.24 324.79) |
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)
#383839 — rgb(56, 56, 57)
Deuteranopia (Green-blind)
#393939 — rgb(57, 57, 57)
Tritanopia (Blue-blind)
#3A3838 — rgb(58, 56, 56)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 3%, 22%);
text
color: hsl(302, 3%, 22%);
border
border: 2px solid hsl(302, 3%, 22%);
gradient light
background: linear-gradient(to right, hsl(302, 3%, 42%), hsl(302, 3%, 22%));
gradient dark
background: linear-gradient(to right, hsl(302, 3%, 22%), hsl(302, 3%, 2%))
hex
background-color: #3A363A;
tailwind
bg-[hsl(302,3%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 3%, 22%, 0.4);
css variable
--color-primary: hsl(302, 3%, 22%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(302, 3%, 22%)?
HEX: #3A363A | RGB: rgb(58, 54, 58) | CMYK: 0%, 7%, 0%, 77% | HSV: 300°, 7%, 23%. Copy any format from the conversion table above.
What colors go well with #3A363A?
The complementary color is HSL(122, 3%, 22%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(302, 3%, 22%) in CSS?
As HSL: color: hsl(302, 3%, 22%); — As HEX: color: #3A363A; — As RGB: color: rgb(58, 54, 58); — Tailwind CSS: bg-[hsl(302,3%,22%)] — CSS variable: --color-primary: hsl(302, 3%, 22%);