HSL(97, 3%, 22%)
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(97,3%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(97, 3%, 22%) | color: hsl(97, 3%, 22%) | |
| HEX | #383A36 | color: #383A36 | |
| RGB | rgb(56, 58, 54) | color: rgb(56, 58, 54) | |
| CMYK | cmyk(3%, 0%, 7%, 77%) | — | |
| HSV | hsv(90, 7%, 23%) | — | |
| HWB | hwb(90 21% 77%) | color: hwb(90 21% 77%) | |
| OKLCH | oklch(0.3451 0.0073 128.7) | color: oklch(0.3451 0.0073 128.7) | |
| Lab | lab(24.11 -1.76 2.19) | color: lab(24.11 -1.76 2.19) | |
| LCH | lch(24.11 2.81 128.79) | color: lch(24.11 2.81 128.79) |
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)
#383838 — rgb(56, 56, 56)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(97, 3%, 22%);
text
color: hsl(97, 3%, 22%);
border
border: 2px solid hsl(97, 3%, 22%);
gradient light
background: linear-gradient(to right, hsl(97, 3%, 42%), hsl(97, 3%, 22%));
gradient dark
background: linear-gradient(to right, hsl(97, 3%, 22%), hsl(97, 3%, 2%))
hex
background-color: #383A36;
tailwind
bg-[hsl(97,3%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(97, 3%, 22%, 0.4);
css variable
--color-primary: hsl(97, 3%, 22%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(97, 3%, 22%)?
HEX: #383A36 | RGB: rgb(56, 58, 54) | CMYK: 3%, 0%, 7%, 77% | HSV: 90°, 7%, 23%. Copy any format from the conversion table above.
What colors go well with #383A36?
The complementary color is HSL(277, 3%, 22%). For a triadic harmony, use hues 97°, 217°, and 337°. For analogous combinations, try hues 67° and 127°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(97, 3%, 22%) in CSS?
As HSL: color: hsl(97, 3%, 22%); — As HEX: color: #383A36; — As RGB: color: rgb(56, 58, 54); — Tailwind CSS: bg-[hsl(97,3%,22%)] — CSS variable: --color-primary: hsl(97, 3%, 22%);