HSL(233, 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(233,8%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 8%, 28%) | color: hsl(233, 8%, 28%) | |
| HEX | #42434D | color: #42434D | |
| RGB | rgb(66, 67, 77) | color: rgb(66, 67, 77) | |
| CMYK | cmyk(14%, 13%, 0%, 70%) | — | |
| HSV | hsv(235, 14%, 30%) | — | |
| HWB | hwb(235 26% 70%) | color: hwb(235 26% 70%) | |
| OKLCH | oklch(0.3857 0.0169 281.04) | color: oklch(0.3857 0.0169 281.04) | |
| Lab | lab(28.66 1.96 -6.15) | color: lab(28.66 1.96 -6.15) | |
| LCH | lch(28.66 6.45 287.68) | color: lch(28.66 6.45 287.68) |
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)
#42424B — rgb(66, 66, 75)
Deuteranopia (Green-blind)
#42424A — rgb(66, 66, 74)
Tritanopia (Blue-blind)
#424948 — rgb(66, 73, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 8%, 28%);
text
color: hsl(233, 8%, 28%);
border
border: 2px solid hsl(233, 8%, 28%);
gradient light
background: linear-gradient(to right, hsl(233, 8%, 48%), hsl(233, 8%, 28%));
gradient dark
background: linear-gradient(to right, hsl(233, 8%, 28%), hsl(233, 8%, 8%))
hex
background-color: #42434D;
tailwind
bg-[hsl(233,8%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 8%, 28%, 0.4);
css variable
--color-primary: hsl(233, 8%, 28%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(233, 8%, 28%)?
HEX: #42434D | RGB: rgb(66, 67, 77) | CMYK: 14%, 13%, 0%, 70% | HSV: 235°, 14%, 30%. Copy any format from the conversion table above.
What colors go well with #42434D?
The complementary color is HSL(53, 8%, 28%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 8%, 28%) in CSS?
As HSL: color: hsl(233, 8%, 28%); — As HEX: color: #42434D; — As RGB: color: rgb(66, 67, 77); — Tailwind CSS: bg-[hsl(233,8%,28%)] — CSS variable: --color-primary: hsl(233, 8%, 28%);