HSL(323, 9%, 15%)
Grayish Black — Black color
Adjust Color
Color Information
Color Name
Grayish Black
Color Family
Black
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(323,9%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(323, 9%, 15%) | color: hsl(323, 9%, 15%) | |
| HEX | #2A2327 | color: #2A2327 | |
| RGB | rgb(42, 35, 39) | color: rgb(42, 35, 39) | |
| CMYK | cmyk(0%, 17%, 7%, 84%) | — | |
| HSV | hsv(326, 17%, 16%) | — | |
| HWB | hwb(326 13% 84%) | color: hwb(326 13% 84%) | |
| OKLCH | oklch(0.2656 0.0127 342.68) | color: oklch(0.2656 0.0127 342.68) | |
| Lab | lab(14.63 4.2 -1.44) | color: lab(14.63 4.2 -1.44) | |
| LCH | lch(14.63 4.44 341.08) | color: lch(14.63 4.44 341.08) |
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)
#272726 — rgb(39, 39, 38)
Deuteranopia (Green-blind)
#272826 — rgb(39, 40, 38)
Tritanopia (Blue-blind)
#2A2525 — rgb(42, 37, 37)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(323, 9%, 15%);
text
color: hsl(323, 9%, 15%);
border
border: 2px solid hsl(323, 9%, 15%);
gradient light
background: linear-gradient(to right, hsl(323, 9%, 35%), hsl(323, 9%, 15%));
gradient dark
background: linear-gradient(to right, hsl(323, 9%, 15%), hsl(323, 9%, 0%))
hex
background-color: #2A2327;
tailwind
bg-[hsl(323,9%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(323, 9%, 15%, 0.4);
css variable
--color-primary: hsl(323, 9%, 15%);
Related Colors
Use Cases for Grayish Black
Frequently Asked Questions
What are all the color codes for HSL(323, 9%, 15%)?
HEX: #2A2327 | RGB: rgb(42, 35, 39) | CMYK: 0%, 17%, 7%, 84% | HSV: 326°, 17%, 16%. Copy any format from the conversion table above.
What colors go well with #2A2327?
The complementary color is HSL(143, 9%, 15%). For a triadic harmony, use hues 323°, 83°, and 203°. For analogous combinations, try hues 293° and 353°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(323, 9%, 15%) in CSS?
As HSL: color: hsl(323, 9%, 15%); — As HEX: color: #2A2327; — As RGB: color: rgb(42, 35, 39); — Tailwind CSS: bg-[hsl(323,9%,15%)] — CSS variable: --color-primary: hsl(323, 9%, 15%);