HSL(237, 2%, 23%)
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%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 2%, 23%) | color: hsl(237, 2%, 23%) | |
| HEX | #393A3C | color: #393A3C | |
| RGB | rgb(57, 58, 60) | color: rgb(57, 58, 60) | |
| CMYK | cmyk(5%, 3%, 0%, 76%) | — | |
| HSV | hsv(220, 5%, 24%) | — | |
| HWB | hwb(220 23% 76%) | color: hwb(220 23% 76%) | |
| OKLCH | oklch(0.3482 0.0037 264.52) | color: oklch(0.3482 0.0037 264.52) | |
| Lab | lab(24.39 0.04 -1.39) | color: lab(24.39 0.04 -1.39) | |
| LCH | lch(24.39 1.39 271.65) | color: lch(24.39 1.39 271.65) |
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)
#39393C — rgb(57, 57, 60)
Deuteranopia (Green-blind)
#39393B — rgb(57, 57, 59)
Tritanopia (Blue-blind)
#393B3B — rgb(57, 59, 59)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 2%, 23%);
text
color: hsl(237, 2%, 23%);
border
border: 2px solid hsl(237, 2%, 23%);
gradient light
background: linear-gradient(to right, hsl(237, 2%, 43%), hsl(237, 2%, 23%));
gradient dark
background: linear-gradient(to right, hsl(237, 2%, 23%), hsl(237, 2%, 3%))
hex
background-color: #393A3C;
tailwind
bg-[hsl(237,2%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 2%, 23%, 0.4);
css variable
--color-primary: hsl(237, 2%, 23%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(237, 2%, 23%)?
HEX: #393A3C | RGB: rgb(57, 58, 60) | CMYK: 5%, 3%, 0%, 76% | HSV: 220°, 5%, 24%. Copy any format from the conversion table above.
What colors go well with #393A3C?
The complementary color is HSL(57, 2%, 23%). 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%, 23%) in CSS?
As HSL: color: hsl(237, 2%, 23%); — As HEX: color: #393A3C; — As RGB: color: rgb(57, 58, 60); — Tailwind CSS: bg-[hsl(237,2%,23%)] — CSS variable: --color-primary: hsl(237, 2%, 23%);