HSL(321, 3%, 30%)
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(321,3%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(321, 3%, 30%) | color: hsl(321, 3%, 30%) | |
| HEX | #4F4A4D | color: #4F4A4D | |
| RGB | rgb(79, 74, 77) | color: rgb(79, 74, 77) | |
| CMYK | cmyk(0%, 6%, 3%, 69%) | — | |
| HSV | hsv(324, 6%, 31%) | — | |
| HWB | hwb(324 29% 69%) | color: hwb(324 29% 69%) | |
| OKLCH | oklch(0.415 0.0082 340.68) | color: oklch(0.415 0.0082 340.68) | |
| Lab | lab(32.02 2.71 -1.04) | color: lab(32.02 2.71 -1.04) | |
| LCH | lch(32.02 2.9 339.01) | color: lch(32.02 2.9 339.01) |
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)
#4D4D4C — rgb(77, 77, 76)
Deuteranopia (Green-blind)
#4D4E4C — rgb(77, 78, 76)
Tritanopia (Blue-blind)
#4F4C4C — rgb(79, 76, 76)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(321, 3%, 30%);
text
color: hsl(321, 3%, 30%);
border
border: 2px solid hsl(321, 3%, 30%);
gradient light
background: linear-gradient(to right, hsl(321, 3%, 50%), hsl(321, 3%, 30%));
gradient dark
background: linear-gradient(to right, hsl(321, 3%, 30%), hsl(321, 3%, 10%))
hex
background-color: #4F4A4D;
tailwind
bg-[hsl(321,3%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(321, 3%, 30%, 0.4);
css variable
--color-primary: hsl(321, 3%, 30%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(321, 3%, 30%)?
HEX: #4F4A4D | RGB: rgb(79, 74, 77) | CMYK: 0%, 6%, 3%, 69% | HSV: 324°, 6%, 31%. Copy any format from the conversion table above.
What colors go well with #4F4A4D?
The complementary color is HSL(141, 3%, 30%). For a triadic harmony, use hues 321°, 81°, and 201°. For analogous combinations, try hues 291° and 351°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(321, 3%, 30%) in CSS?
As HSL: color: hsl(321, 3%, 30%); — As HEX: color: #4F4A4D; — As RGB: color: rgb(79, 74, 77); — Tailwind CSS: bg-[hsl(321,3%,30%)] — CSS variable: --color-primary: hsl(321, 3%, 30%);