HSL(116, 8%, 27%)
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(116,8%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(116, 8%, 27%) | color: hsl(116, 8%, 27%) | |
| HEX | #404A3F | color: #404A3F | |
| RGB | rgb(64, 74, 63) | color: rgb(64, 74, 63) | |
| CMYK | cmyk(14%, 0%, 15%, 71%) | — | |
| HSV | hsv(115, 15%, 29%) | — | |
| HWB | hwb(115 25% 71%) | color: hwb(115 25% 71%) | |
| OKLCH | oklch(0.3965 0.0223 142.65) | color: oklch(0.3965 0.0223 142.65) | |
| Lab | lab(30.27 -6.51 5.23) | color: lab(30.27 -6.51 5.23) | |
| LCH | lch(30.27 8.35 141.22) | color: lch(30.27 8.35 141.22) |
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)
#444442 — rgb(68, 68, 66)
Deuteranopia (Green-blind)
#444342 — rgb(68, 67, 66)
Tritanopia (Blue-blind)
#414444 — rgb(65, 68, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(116, 8%, 27%);
text
color: hsl(116, 8%, 27%);
border
border: 2px solid hsl(116, 8%, 27%);
gradient light
background: linear-gradient(to right, hsl(116, 8%, 47%), hsl(116, 8%, 27%));
gradient dark
background: linear-gradient(to right, hsl(116, 8%, 27%), hsl(116, 8%, 7%))
hex
background-color: #404A3F;
tailwind
bg-[hsl(116,8%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(116, 8%, 27%, 0.4);
css variable
--color-primary: hsl(116, 8%, 27%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(116, 8%, 27%)?
HEX: #404A3F | RGB: rgb(64, 74, 63) | CMYK: 14%, 0%, 15%, 71% | HSV: 115°, 15%, 29%. Copy any format from the conversion table above.
What colors go well with #404A3F?
The complementary color is HSL(296, 8%, 27%). For a triadic harmony, use hues 116°, 236°, and 356°. For analogous combinations, try hues 86° and 146°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(116, 8%, 27%) in CSS?
As HSL: color: hsl(116, 8%, 27%); — As HEX: color: #404A3F; — As RGB: color: rgb(64, 74, 63); — Tailwind CSS: bg-[hsl(116,8%,27%)] — CSS variable: --color-primary: hsl(116, 8%, 27%);