HSL(253, 17%, 12%)

Very Dark Blue — Blue color

Adjust Color

Color Information

Color Name

Very Dark Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(253,17%,12%)]

Color Conversions

Format Value CSS Usage
HSL hsl(253, 17%, 12%) color: hsl(253, 17%, 12%)
HEX #1C1924 color: #1C1924
RGB rgb(28, 25, 36) color: rgb(28, 25, 36)
CMYK cmyk(22%, 31%, 0%, 86%)
HSV hsv(256, 31%, 14%)
HWB hwb(256 10% 86%) color: hwb(256 10% 86%)
OKLCH oklch(0.222 0.0216 297.11) color: oklch(0.222 0.0216 297.11)
Lab lab(9.56 4.45 -7.02) color: lab(9.56 4.45 -7.02)
LCH lch(9.56 8.31 302.37) color: lch(9.56 8.31 302.37)

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 17.3:1
vs Black 1.21: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)

#1B1B21 — rgb(27, 27, 33)

Deuteranopia (Green-blind)

#1B1B21 — rgb(27, 27, 33)

Tritanopia (Blue-blind)

#1C1F1F — rgb(28, 31, 31)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(253, 17%, 12%);

text

color: hsl(253, 17%, 12%);

border

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

gradient light

background: linear-gradient(to right, hsl(253, 17%, 32%), hsl(253, 17%, 12%));

gradient dark

background: linear-gradient(to right, hsl(253, 17%, 12%), hsl(253, 17%, 0%))

hex

background-color: #1C1924;

tailwind

bg-[hsl(253,17%,12%)]

box shadow

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

css variable

--color-primary: hsl(253, 17%, 12%);

Related Colors

Use Cases for Very Dark Blue

Corporate branding Trust signals Tech products Social media Primary buttons

Frequently Asked Questions

What are all the color codes for HSL(253, 17%, 12%)?

HEX: #1C1924 | RGB: rgb(28, 25, 36) | CMYK: 22%, 31%, 0%, 86% | HSV: 256°, 31%, 14%. Copy any format from the conversion table above.

What colors go well with #1C1924?

The complementary color is HSL(73, 17%, 12%). For a triadic harmony, use hues 253°, 13°, and 133°. For analogous combinations, try hues 223° and 283°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(253, 17%, 12%) in CSS?

As HSL: color: hsl(253, 17%, 12%); — As HEX: color: #1C1924; — As RGB: color: rgb(28, 25, 36); — Tailwind CSS: bg-[hsl(253,17%,12%)] — CSS variable: --color-primary: hsl(253, 17%, 12%);