HSL(237, 2%, 30%)
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(237,2%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 2%, 30%) | color: hsl(237, 2%, 30%) | |
| HEX | #4B4B4E | color: #4B4B4E | |
| RGB | rgb(75, 75, 78) | color: rgb(75, 75, 78) | |
| CMYK | cmyk(4%, 4%, 0%, 69%) | — | |
| HSV | hsv(240, 4%, 31%) | — | |
| HWB | hwb(240 30% 69%) | color: hwb(240 30% 69%) | |
| OKLCH | oklch(0.4139 0.0049 286.18) | color: oklch(0.4139 0.0049 286.18) | |
| Lab | lab(31.98 0.67 -1.78) | color: lab(31.98 0.67 -1.78) | |
| LCH | lch(31.98 1.9 290.63) | color: lch(31.98 1.9 290.63) |
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)
#4B4B4D — rgb(75, 75, 77)
Deuteranopia (Green-blind)
#4B4B4D — rgb(75, 75, 77)
Tritanopia (Blue-blind)
#4B4D4D — rgb(75, 77, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 2%, 30%);
text
color: hsl(237, 2%, 30%);
border
border: 2px solid hsl(237, 2%, 30%);
gradient light
background: linear-gradient(to right, hsl(237, 2%, 50%), hsl(237, 2%, 30%));
gradient dark
background: linear-gradient(to right, hsl(237, 2%, 30%), hsl(237, 2%, 10%))
hex
background-color: #4B4B4E;
tailwind
bg-[hsl(237,2%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 2%, 30%, 0.4);
css variable
--color-primary: hsl(237, 2%, 30%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(237, 2%, 30%)?
HEX: #4B4B4E | RGB: rgb(75, 75, 78) | CMYK: 4%, 4%, 0%, 69% | HSV: 240°, 4%, 31%. Copy any format from the conversion table above.
What colors go well with #4B4B4E?
The complementary color is HSL(57, 2%, 30%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 2%, 30%) in CSS?
As HSL: color: hsl(237, 2%, 30%); — As HEX: color: #4B4B4E; — As RGB: color: rgb(75, 75, 78); — Tailwind CSS: bg-[hsl(237,2%,30%)] — CSS variable: --color-primary: hsl(237, 2%, 30%);