HSL(87, 5%, 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(87,5%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 5%, 27%) | color: hsl(87, 5%, 27%) | |
| HEX | #454841 | color: #454841 | |
| RGB | rgb(69, 72, 65) | color: rgb(69, 72, 65) | |
| CMYK | cmyk(4%, 0%, 10%, 72%) | — | |
| HSV | hsv(86, 10%, 28%) | — | |
| HWB | hwb(86 25% 72%) | color: hwb(86 25% 72%) | |
| OKLCH | oklch(0.3965 0.0122 125.96) | color: oklch(0.3965 0.0122 125.96) | |
| Lab | lab(30.11 -2.76 3.78) | color: lab(30.11 -2.76 3.78) | |
| LCH | lch(30.11 4.68 126.14) | color: lch(30.11 4.68 126.14) |
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)
#464643 — rgb(70, 70, 67)
Deuteranopia (Green-blind)
#464643 — rgb(70, 70, 67)
Tritanopia (Blue-blind)
#454444 — rgb(69, 68, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 5%, 27%);
text
color: hsl(87, 5%, 27%);
border
border: 2px solid hsl(87, 5%, 27%);
gradient light
background: linear-gradient(to right, hsl(87, 5%, 47%), hsl(87, 5%, 27%));
gradient dark
background: linear-gradient(to right, hsl(87, 5%, 27%), hsl(87, 5%, 7%))
hex
background-color: #454841;
tailwind
bg-[hsl(87,5%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 5%, 27%, 0.4);
css variable
--color-primary: hsl(87, 5%, 27%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(87, 5%, 27%)?
HEX: #454841 | RGB: rgb(69, 72, 65) | CMYK: 4%, 0%, 10%, 72% | HSV: 86°, 10%, 28%. Copy any format from the conversion table above.
What colors go well with #454841?
The complementary color is HSL(267, 5%, 27%). For a triadic harmony, use hues 87°, 207°, and 327°. For analogous combinations, try hues 57° and 117°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(87, 5%, 27%) in CSS?
As HSL: color: hsl(87, 5%, 27%); — As HEX: color: #454841; — As RGB: color: rgb(69, 72, 65); — Tailwind CSS: bg-[hsl(87,5%,27%)] — CSS variable: --color-primary: hsl(87, 5%, 27%);