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

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 15.35:1
vs Black 1.37:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

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

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

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

UI elements Web design Branding Graphic design Print design

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%);