HSL(123, 1%, 17%)

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(123,1%,17%)]

Color Conversions

Format Value CSS Usage
HSL hsl(123, 1%, 17%) color: hsl(123, 1%, 17%)
HEX #2B2C2B color: #2B2C2B
RGB rgb(43, 44, 43) color: rgb(43, 44, 43)
CMYK cmyk(2%, 0%, 2%, 83%)
HSV hsv(120, 2%, 17%)
HWB hwb(120 17% 83%) color: hwb(120 17% 83%)
OKLCH oklch(0.2917 0.0023 145.52) color: oklch(0.2917 0.0023 145.52)
Lab lab(17.87 -0.69 0.49) color: lab(17.87 -0.69 0.49)
LCH lch(17.87 0.85 144.62) color: lch(17.87 0.85 144.62)

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 14.02:1
vs Black 1.5: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)

#2B2B2B — rgb(43, 43, 43)

Deuteranopia (Green-blind)

#2B2B2B — rgb(43, 43, 43)

Tritanopia (Blue-blind)

#2B2B2B — rgb(43, 43, 43)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(123, 1%, 17%);

text

color: hsl(123, 1%, 17%);

border

border: 2px solid hsl(123, 1%, 17%);

gradient light

background: linear-gradient(to right, hsl(123, 1%, 37%), hsl(123, 1%, 17%));

gradient dark

background: linear-gradient(to right, hsl(123, 1%, 17%), hsl(123, 1%, 0%))

hex

background-color: #2B2C2B;

tailwind

bg-[hsl(123,1%,17%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(123, 1%, 17%, 0.4);

css variable

--color-primary: hsl(123, 1%, 17%);

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(123, 1%, 17%)?

HEX: #2B2C2B | RGB: rgb(43, 44, 43) | CMYK: 2%, 0%, 2%, 83% | HSV: 120°, 2%, 17%. Copy any format from the conversion table above.

What colors go well with #2B2C2B?

The complementary color is HSL(303, 1%, 17%). For a triadic harmony, use hues 123°, 243°, and 3°. For analogous combinations, try hues 93° and 153°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(123, 1%, 17%) in CSS?

As HSL: color: hsl(123, 1%, 17%); — As HEX: color: #2B2C2B; — As RGB: color: rgb(43, 44, 43); — Tailwind CSS: bg-[hsl(123,1%,17%)] — CSS variable: --color-primary: hsl(123, 1%, 17%);