HSL(264, 9%, 32%)
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(264,9%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(264, 9%, 32%) | color: hsl(264, 9%, 32%) | |
| HEX | #504A59 | color: #504A59 | |
| RGB | rgb(80, 74, 89) | color: rgb(80, 74, 89) | |
| CMYK | cmyk(10%, 17%, 0%, 65%) | — | |
| HSV | hsv(264, 17%, 35%) | — | |
| HWB | hwb(264 29% 65%) | color: hwb(264 29% 65%) | |
| OKLCH | oklch(0.4206 0.0257 303.47) | color: oklch(0.4206 0.0257 303.47) | |
| Lab | lab(32.53 5.83 -7.93) | color: lab(32.53 5.83 -7.93) | |
| LCH | lch(32.53 9.84 306.32) | color: lch(32.53 9.84 306.32) |
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)
#4D4D55 — rgb(77, 77, 85)
Deuteranopia (Green-blind)
#4E4E55 — rgb(78, 78, 85)
Tritanopia (Blue-blind)
#505352 — rgb(80, 83, 82)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(264, 9%, 32%);
text
color: hsl(264, 9%, 32%);
border
border: 2px solid hsl(264, 9%, 32%);
gradient light
background: linear-gradient(to right, hsl(264, 9%, 52%), hsl(264, 9%, 32%));
gradient dark
background: linear-gradient(to right, hsl(264, 9%, 32%), hsl(264, 9%, 12%))
hex
background-color: #504A59;
tailwind
bg-[hsl(264,9%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(264, 9%, 32%, 0.4);
css variable
--color-primary: hsl(264, 9%, 32%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(264, 9%, 32%)?
HEX: #504A59 | RGB: rgb(80, 74, 89) | CMYK: 10%, 17%, 0%, 65% | HSV: 264°, 17%, 35%. Copy any format from the conversion table above.
What colors go well with #504A59?
The complementary color is HSL(84, 9%, 32%). For a triadic harmony, use hues 264°, 24°, and 144°. For analogous combinations, try hues 234° and 294°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(264, 9%, 32%) in CSS?
As HSL: color: hsl(264, 9%, 32%); — As HEX: color: #504A59; — As RGB: color: rgb(80, 74, 89); — Tailwind CSS: bg-[hsl(264,9%,32%)] — CSS variable: --color-primary: hsl(264, 9%, 32%);