HSL(297, 3%, 46%)
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(297,3%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 3%, 46%) | color: hsl(297, 3%, 46%) | |
| HEX | #787279 | color: #787279 | |
| RGB | rgb(120, 114, 121) | color: rgb(120, 114, 121) | |
| CMYK | cmyk(1%, 6%, 0%, 53%) | — | |
| HSV | hsv(291, 6%, 47%) | — | |
| HWB | hwb(291 44% 53%) | color: hwb(291 44% 53%) | |
| OKLCH | oklch(0.5598 0.0129 321.35) | color: oklch(0.5598 0.0129 321.35) | |
| Lab | lab(48.77 3.71 -3.03) | color: lab(48.77 3.71 -3.03) | |
| LCH | lch(48.77 4.79 320.76) | color: lch(48.77 4.79 320.76) |
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)
#757577 — rgb(117, 117, 119)
Deuteranopia (Green-blind)
#767677 — rgb(118, 118, 119)
Tritanopia (Blue-blind)
#787676 — rgb(120, 118, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 3%, 46%);
text
color: hsl(297, 3%, 46%);
border
border: 2px solid hsl(297, 3%, 46%);
gradient light
background: linear-gradient(to right, hsl(297, 3%, 66%), hsl(297, 3%, 46%));
gradient dark
background: linear-gradient(to right, hsl(297, 3%, 46%), hsl(297, 3%, 26%))
hex
background-color: #787279;
tailwind
bg-[hsl(297,3%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 3%, 46%, 0.4);
css variable
--color-primary: hsl(297, 3%, 46%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(297, 3%, 46%)?
HEX: #787279 | RGB: rgb(120, 114, 121) | CMYK: 1%, 6%, 0%, 53% | HSV: 291°, 6%, 47%. Copy any format from the conversion table above.
What colors go well with #787279?
The complementary color is HSL(117, 3%, 46%). For a triadic harmony, use hues 297°, 57°, and 177°. For analogous combinations, try hues 267° and 327°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(297, 3%, 46%) in CSS?
As HSL: color: hsl(297, 3%, 46%); — As HEX: color: #787279; — As RGB: color: rgb(120, 114, 121); — Tailwind CSS: bg-[hsl(297,3%,46%)] — CSS variable: --color-primary: hsl(297, 3%, 46%);