HSL(137, 8%, 19%)
Grayish Black — Black color
Adjust Color
Color Information
Color Name
Grayish Black
Color Family
Black
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(137,8%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(137, 8%, 19%) | color: hsl(137, 8%, 19%) | |
| HEX | #2D342F | color: #2D342F | |
| RGB | rgb(45, 52, 47) | color: rgb(45, 52, 47) | |
| CMYK | cmyk(13%, 0%, 10%, 80%) | — | |
| HSV | hsv(137, 13%, 20%) | — | |
| HWB | hwb(137 17% 80%) | color: hwb(137 17% 80%) | |
| OKLCH | oklch(0.3166 0.013 154.51) | color: oklch(0.3166 0.013 154.51) | |
| Lab | lab(20.9 -4.21 2.15) | color: lab(20.9 -4.21 2.15) | |
| LCH | lch(20.9 4.73 152.95) | color: lch(20.9 4.73 152.95) |
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)
#303030 — rgb(48, 48, 48)
Deuteranopia (Green-blind)
#302F31 — rgb(48, 47, 49)
Tritanopia (Blue-blind)
#2D3131 — rgb(45, 49, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(137, 8%, 19%);
text
color: hsl(137, 8%, 19%);
border
border: 2px solid hsl(137, 8%, 19%);
gradient light
background: linear-gradient(to right, hsl(137, 8%, 39%), hsl(137, 8%, 19%));
gradient dark
background: linear-gradient(to right, hsl(137, 8%, 19%), hsl(137, 8%, 0%))
hex
background-color: #2D342F;
tailwind
bg-[hsl(137,8%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(137, 8%, 19%, 0.4);
css variable
--color-primary: hsl(137, 8%, 19%);
Related Colors
Use Cases for Grayish Black
Frequently Asked Questions
What are all the color codes for HSL(137, 8%, 19%)?
HEX: #2D342F | RGB: rgb(45, 52, 47) | CMYK: 13%, 0%, 10%, 80% | HSV: 137°, 13%, 20%. Copy any format from the conversion table above.
What colors go well with #2D342F?
The complementary color is HSL(317, 8%, 19%). For a triadic harmony, use hues 137°, 257°, and 17°. For analogous combinations, try hues 107° and 167°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(137, 8%, 19%) in CSS?
As HSL: color: hsl(137, 8%, 19%); — As HEX: color: #2D342F; — As RGB: color: rgb(45, 52, 47); — Tailwind CSS: bg-[hsl(137,8%,19%)] — CSS variable: --color-primary: hsl(137, 8%, 19%);