HSL(115, 5%, 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(115,5%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(115, 5%, 20%) | color: hsl(115, 5%, 20%) | |
| HEX | #313630 | color: #313630 | |
| RGB | rgb(49, 54, 48) | color: rgb(49, 54, 48) | |
| CMYK | cmyk(9%, 0%, 11%, 79%) | — | |
| HSV | hsv(110, 11%, 21%) | — | |
| HWB | hwb(110 19% 79%) | color: hwb(110 19% 79%) | |
| OKLCH | oklch(0.326 0.0125 140.47) | color: oklch(0.326 0.0125 140.47) | |
| Lab | lab(21.96 -3.55 3.04) | color: lab(21.96 -3.55 3.04) | |
| LCH | lch(21.96 4.67 139.43) | color: lch(21.96 4.67 139.43) |
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)
#333331 — rgb(51, 51, 49)
Deuteranopia (Green-blind)
#333332 — rgb(51, 51, 50)
Tritanopia (Blue-blind)
#313333 — rgb(49, 51, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(115, 5%, 20%);
text
color: hsl(115, 5%, 20%);
border
border: 2px solid hsl(115, 5%, 20%);
gradient light
background: linear-gradient(to right, hsl(115, 5%, 40%), hsl(115, 5%, 20%));
gradient dark
background: linear-gradient(to right, hsl(115, 5%, 20%), hsl(115, 5%, 0%))
hex
background-color: #313630;
tailwind
bg-[hsl(115,5%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(115, 5%, 20%, 0.4);
css variable
--color-primary: hsl(115, 5%, 20%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(115, 5%, 20%)?
HEX: #313630 | RGB: rgb(49, 54, 48) | CMYK: 9%, 0%, 11%, 79% | HSV: 110°, 11%, 21%. Copy any format from the conversion table above.
What colors go well with #313630?
The complementary color is HSL(295, 5%, 20%). For a triadic harmony, use hues 115°, 235°, and 355°. For analogous combinations, try hues 85° and 145°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(115, 5%, 20%) in CSS?
As HSL: color: hsl(115, 5%, 20%); — As HEX: color: #313630; — As RGB: color: rgb(49, 54, 48); — Tailwind CSS: bg-[hsl(115,5%,20%)] — CSS variable: --color-primary: hsl(115, 5%, 20%);