HSL(38, 2%, 12%)

Very Dark Black — Black color

Adjust Color

Color Information

Color Name

Very Dark Black

Color Family

Black

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(38,2%,12%)]

Color Conversions

Format Value CSS Usage
HSL hsl(38, 2%, 12%) color: hsl(38, 2%, 12%)
HEX #1F1F1E color: #1F1F1E
RGB rgb(31, 31, 30) color: rgb(31, 31, 30)
CMYK cmyk(0%, 0%, 3%, 88%)
HSV hsv(60, 3%, 12%)
HWB hwb(60 12% 88%) color: hwb(60 12% 88%)
OKLCH oklch(0.2389 0.0019 106.54) color: oklch(0.2389 0.0019 106.54)
Lab lab(11.72 -0.25 0.68) color: lab(11.72 -0.25 0.68)
LCH lch(11.72 0.72 110.19) color: lch(11.72 0.72 110.19)

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 16.5:1
vs Black 1.27: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)

#1F1F1E — rgb(31, 31, 30)

Deuteranopia (Green-blind)

#1F1F1E — rgb(31, 31, 30)

Tritanopia (Blue-blind)

#1F1E1E — rgb(31, 30, 30)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(38, 2%, 12%);

text

color: hsl(38, 2%, 12%);

border

border: 2px solid hsl(38, 2%, 12%);

gradient light

background: linear-gradient(to right, hsl(38, 2%, 32%), hsl(38, 2%, 12%));

gradient dark

background: linear-gradient(to right, hsl(38, 2%, 12%), hsl(38, 2%, 0%))

hex

background-color: #1F1F1E;

tailwind

bg-[hsl(38,2%,12%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(38, 2%, 12%, 0.4);

css variable

--color-primary: hsl(38, 2%, 12%);

Related Colors

Use Cases for Very Dark Black

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(38, 2%, 12%)?

HEX: #1F1F1E | RGB: rgb(31, 31, 30) | CMYK: 0%, 0%, 3%, 88% | HSV: 60°, 3%, 12%. Copy any format from the conversion table above.

What colors go well with #1F1F1E?

The complementary color is HSL(218, 2%, 12%). For a triadic harmony, use hues 38°, 158°, and 278°. For analogous combinations, try hues 8° and 68°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(38, 2%, 12%) in CSS?

As HSL: color: hsl(38, 2%, 12%); — As HEX: color: #1F1F1E; — As RGB: color: rgb(31, 31, 30); — Tailwind CSS: bg-[hsl(38,2%,12%)] — CSS variable: --color-primary: hsl(38, 2%, 12%);