HSL(27, 2%, 22%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(27,2%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(27, 2%, 22%) | color: hsl(27, 2%, 22%) | |
| HEX | #393837 | color: #393837 | |
| RGB | rgb(57, 56, 55) | color: rgb(57, 56, 55) | |
| CMYK | cmyk(0%, 2%, 4%, 78%) | — | |
| HSV | hsv(30, 4%, 22%) | — | |
| HWB | hwb(30 21% 78%) | color: hwb(30 21% 78%) | |
| OKLCH | oklch(0.3413 0.0022 67.75) | color: oklch(0.3413 0.0022 67.75) | |
| Lab | lab(23.59 0.21 0.78) | color: lab(23.59 0.21 0.78) | |
| LCH | lch(23.59 0.81 74.93) | color: lch(23.59 0.81 74.93) |
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)
#393937 — rgb(57, 57, 55)
Deuteranopia (Green-blind)
#393937 — rgb(57, 57, 55)
Tritanopia (Blue-blind)
#393737 — rgb(57, 55, 55)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(27, 2%, 22%);
text
color: hsl(27, 2%, 22%);
border
border: 2px solid hsl(27, 2%, 22%);
gradient light
background: linear-gradient(to right, hsl(27, 2%, 42%), hsl(27, 2%, 22%));
gradient dark
background: linear-gradient(to right, hsl(27, 2%, 22%), hsl(27, 2%, 2%))
hex
background-color: #393837;
tailwind
bg-[hsl(27,2%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(27, 2%, 22%, 0.4);
css variable
--color-primary: hsl(27, 2%, 22%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(27, 2%, 22%)?
HEX: #393837 | RGB: rgb(57, 56, 55) | CMYK: 0%, 2%, 4%, 78% | HSV: 30°, 4%, 22%. Copy any format from the conversion table above.
What colors go well with #393837?
The complementary color is HSL(207, 2%, 22%). For a triadic harmony, use hues 27°, 147°, and 267°. For analogous combinations, try hues 357° and 57°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(27, 2%, 22%) in CSS?
As HSL: color: hsl(27, 2%, 22%); — As HEX: color: #393837; — As RGB: color: rgb(57, 56, 55); — Tailwind CSS: bg-[hsl(27,2%,22%)] — CSS variable: --color-primary: hsl(27, 2%, 22%);