HSL(170, 3%, 28%)
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(170,3%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(170, 3%, 28%) | color: hsl(170, 3%, 28%) | |
| HEX | #454A49 | color: #454A49 | |
| RGB | rgb(69, 74, 73) | color: rgb(69, 74, 73) | |
| CMYK | cmyk(7%, 0%, 1%, 71%) | — | |
| HSV | hsv(168, 7%, 29%) | — | |
| HWB | hwb(168 27% 71%) | color: hwb(168 27% 71%) | |
| OKLCH | oklch(0.4042 0.0067 182.72) | color: oklch(0.4042 0.0067 182.72) | |
| Lab | lab(30.98 -2.26 -0.11) | color: lab(30.98 -2.26 -0.11) | |
| LCH | lch(30.98 2.26 182.79) | color: lch(30.98 2.26 182.79) |
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)
#474749 — rgb(71, 71, 73)
Deuteranopia (Green-blind)
#474749 — rgb(71, 71, 73)
Tritanopia (Blue-blind)
#454949 — rgb(69, 73, 73)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(170, 3%, 28%);
text
color: hsl(170, 3%, 28%);
border
border: 2px solid hsl(170, 3%, 28%);
gradient light
background: linear-gradient(to right, hsl(170, 3%, 48%), hsl(170, 3%, 28%));
gradient dark
background: linear-gradient(to right, hsl(170, 3%, 28%), hsl(170, 3%, 8%))
hex
background-color: #454A49;
tailwind
bg-[hsl(170,3%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(170, 3%, 28%, 0.4);
css variable
--color-primary: hsl(170, 3%, 28%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(170, 3%, 28%)?
HEX: #454A49 | RGB: rgb(69, 74, 73) | CMYK: 7%, 0%, 1%, 71% | HSV: 168°, 7%, 29%. Copy any format from the conversion table above.
What colors go well with #454A49?
The complementary color is HSL(350, 3%, 28%). For a triadic harmony, use hues 170°, 290°, and 50°. For analogous combinations, try hues 140° and 200°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(170, 3%, 28%) in CSS?
As HSL: color: hsl(170, 3%, 28%); — As HEX: color: #454A49; — As RGB: color: rgb(69, 74, 73); — Tailwind CSS: bg-[hsl(170,3%,28%)] — CSS variable: --color-primary: hsl(170, 3%, 28%);