HSL(237, 2%, 20%)
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%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 2%, 20%) | color: hsl(237, 2%, 20%) | |
| HEX | #323234 | color: #323234 | |
| RGB | rgb(50, 50, 52) | color: rgb(50, 50, 52) | |
| CMYK | cmyk(4%, 4%, 0%, 80%) | — | |
| HSV | hsv(240, 4%, 20%) | — | |
| HWB | hwb(240 19% 80%) | color: hwb(240 19% 80%) | |
| OKLCH | oklch(0.3179 0.0035 286.2) | color: oklch(0.3179 0.0035 286.2) | |
| Lab | lab(20.86 0.47 -1.27) | color: lab(20.86 0.47 -1.27) | |
| LCH | lch(20.86 1.35 290.31) | color: lch(20.86 1.35 290.31) |
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)
#323234 — rgb(50, 50, 52)
Deuteranopia (Green-blind)
#323233 — rgb(50, 50, 51)
Tritanopia (Blue-blind)
#323333 — rgb(50, 51, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 2%, 20%);
text
color: hsl(237, 2%, 20%);
border
border: 2px solid hsl(237, 2%, 20%);
gradient light
background: linear-gradient(to right, hsl(237, 2%, 40%), hsl(237, 2%, 20%));
gradient dark
background: linear-gradient(to right, hsl(237, 2%, 20%), hsl(237, 2%, 0%))
hex
background-color: #323234;
tailwind
bg-[hsl(237,2%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 2%, 20%, 0.4);
css variable
--color-primary: hsl(237, 2%, 20%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(237, 2%, 20%)?
HEX: #323234 | RGB: rgb(50, 50, 52) | CMYK: 4%, 4%, 0%, 80% | HSV: 240°, 4%, 20%. Copy any format from the conversion table above.
What colors go well with #323234?
The complementary color is HSL(57, 2%, 20%). 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%, 20%) in CSS?
As HSL: color: hsl(237, 2%, 20%); — As HEX: color: #323234; — As RGB: color: rgb(50, 50, 52); — Tailwind CSS: bg-[hsl(237,2%,20%)] — CSS variable: --color-primary: hsl(237, 2%, 20%);