HSL(229, 1%, 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(229,1%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 1%, 28%) | color: hsl(229, 1%, 28%) | |
| HEX | #474748 | color: #474748 | |
| RGB | rgb(71, 71, 72) | color: rgb(71, 71, 72) | |
| CMYK | cmyk(1%, 1%, 0%, 72%) | — | |
| HSV | hsv(240, 1%, 28%) | — | |
| HWB | hwb(240 28% 72%) | color: hwb(240 28% 72%) | |
| OKLCH | oklch(0.3983 0.0017 286.32) | color: oklch(0.3983 0.0017 286.32) | |
| Lab | lab(30.19 0.22 -0.6) | color: lab(30.19 0.22 -0.6) | |
| LCH | lch(30.19 0.64 290.14) | color: lch(30.19 0.64 290.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)
#474748 — rgb(71, 71, 72)
Deuteranopia (Green-blind)
#474748 — rgb(71, 71, 72)
Tritanopia (Blue-blind)
#474848 — rgb(71, 72, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 1%, 28%);
text
color: hsl(229, 1%, 28%);
border
border: 2px solid hsl(229, 1%, 28%);
gradient light
background: linear-gradient(to right, hsl(229, 1%, 48%), hsl(229, 1%, 28%));
gradient dark
background: linear-gradient(to right, hsl(229, 1%, 28%), hsl(229, 1%, 8%))
hex
background-color: #474748;
tailwind
bg-[hsl(229,1%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 1%, 28%, 0.4);
css variable
--color-primary: hsl(229, 1%, 28%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(229, 1%, 28%)?
HEX: #474748 | RGB: rgb(71, 71, 72) | CMYK: 1%, 1%, 0%, 72% | HSV: 240°, 1%, 28%. Copy any format from the conversion table above.
What colors go well with #474748?
The complementary color is HSL(49, 1%, 28%). For a triadic harmony, use hues 229°, 349°, and 109°. For analogous combinations, try hues 199° and 259°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(229, 1%, 28%) in CSS?
As HSL: color: hsl(229, 1%, 28%); — As HEX: color: #474748; — As RGB: color: rgb(71, 71, 72); — Tailwind CSS: bg-[hsl(229,1%,28%)] — CSS variable: --color-primary: hsl(229, 1%, 28%);