HSL(22, 5%, 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(22,5%,15%)]

Color Conversions

Format Value CSS Usage
HSL hsl(22, 5%, 15%) color: hsl(22, 5%, 15%)
HEX #282624 color: #282624
RGB rgb(40, 38, 36) color: rgb(40, 38, 36)
CMYK cmyk(0%, 5%, 10%, 84%)
HSV hsv(30, 10%, 16%)
HWB hwb(30 14% 84%) color: hwb(30 14% 84%)
OKLCH oklch(0.27 0.0047 67.63) color: oklch(0.27 0.0047 67.63)
Lab lab(15.3 0.46 1.65) color: lab(15.3 0.46 1.65)
LCH lch(15.3 1.71 74.42) color: lch(15.3 1.71 74.42)

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.08:1
vs Black 1.39: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)

#272724 — rgb(39, 39, 36)

Deuteranopia (Green-blind)

#272725 — rgb(39, 39, 37)

Tritanopia (Blue-blind)

#282525 — rgb(40, 37, 37)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(22, 5%, 15%);

text

color: hsl(22, 5%, 15%);

border

border: 2px solid hsl(22, 5%, 15%);

gradient light

background: linear-gradient(to right, hsl(22, 5%, 35%), hsl(22, 5%, 15%));

gradient dark

background: linear-gradient(to right, hsl(22, 5%, 15%), hsl(22, 5%, 0%))

hex

background-color: #282624;

tailwind

bg-[hsl(22,5%,15%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(22, 5%, 15%, 0.4);

css variable

--color-primary: hsl(22, 5%, 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(22, 5%, 15%)?

HEX: #282624 | RGB: rgb(40, 38, 36) | CMYK: 0%, 5%, 10%, 84% | HSV: 30°, 10%, 16%. Copy any format from the conversion table above.

What colors go well with #282624?

The complementary color is HSL(202, 5%, 15%). For a triadic harmony, use hues 22°, 142°, and 262°. For analogous combinations, try hues 352° and 52°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(22, 5%, 15%) in CSS?

As HSL: color: hsl(22, 5%, 15%); — As HEX: color: #282624; — As RGB: color: rgb(40, 38, 36); — Tailwind CSS: bg-[hsl(22,5%,15%)] — CSS variable: --color-primary: hsl(22, 5%, 15%);