HSL(257, 8%, 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(257,8%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 8%, 28%) | color: hsl(257, 8%, 28%) | |
| HEX | #45424D | color: #45424D | |
| RGB | rgb(69, 66, 77) | color: rgb(69, 66, 77) | |
| CMYK | cmyk(10%, 14%, 0%, 70%) | — | |
| HSV | hsv(256, 14%, 30%) | — | |
| HWB | hwb(256 26% 70%) | color: hwb(256 26% 70%) | |
| OKLCH | oklch(0.3862 0.0188 297.99) | color: oklch(0.3862 0.0188 297.99) | |
| Lab | lab(28.64 3.79 -6.16) | color: lab(28.64 3.79 -6.16) | |
| LCH | lch(28.64 7.23 301.6) | color: lch(28.64 7.23 301.6) |
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)
#44444A — rgb(68, 68, 74)
Deuteranopia (Green-blind)
#44444A — rgb(68, 68, 74)
Tritanopia (Blue-blind)
#454848 — rgb(69, 72, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 8%, 28%);
text
color: hsl(257, 8%, 28%);
border
border: 2px solid hsl(257, 8%, 28%);
gradient light
background: linear-gradient(to right, hsl(257, 8%, 48%), hsl(257, 8%, 28%));
gradient dark
background: linear-gradient(to right, hsl(257, 8%, 28%), hsl(257, 8%, 8%))
hex
background-color: #45424D;
tailwind
bg-[hsl(257,8%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 8%, 28%, 0.4);
css variable
--color-primary: hsl(257, 8%, 28%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(257, 8%, 28%)?
HEX: #45424D | RGB: rgb(69, 66, 77) | CMYK: 10%, 14%, 0%, 70% | HSV: 256°, 14%, 30%. Copy any format from the conversion table above.
What colors go well with #45424D?
The complementary color is HSL(77, 8%, 28%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(257, 8%, 28%) in CSS?
As HSL: color: hsl(257, 8%, 28%); — As HEX: color: #45424D; — As RGB: color: rgb(69, 66, 77); — Tailwind CSS: bg-[hsl(257,8%,28%)] — CSS variable: --color-primary: hsl(257, 8%, 28%);