HSL(278, 24%, 10%)

Very Dark Indigo — Indigo color

Adjust Color

Color Information

Color Name

Very Dark Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(278,24%,10%)]

Color Conversions

Format Value CSS Usage
HSL hsl(278, 24%, 10%) color: hsl(278, 24%, 10%)
HEX #1B1320 color: #1B1320
RGB rgb(27, 19, 32) color: rgb(27, 19, 32)
CMYK cmyk(16%, 41%, 0%, 87%)
HSV hsv(277, 41%, 13%)
HWB hwb(277 8% 87%) color: hwb(277 8% 87%)
OKLCH oklch(0.2032 0.0279 311.98) color: oklch(0.2032 0.0279 311.98)
Lab lab(7.25 7.3 -7.55) color: lab(7.25 7.3 -7.55)
LCH lch(7.25 10.5 314.04) color: lch(7.25 10.5 314.04)

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 18.09:1
vs Black 1.16: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)

#18171D — rgb(24, 23, 29)

Deuteranopia (Green-blind)

#18191C — rgb(24, 25, 28)

Tritanopia (Blue-blind)

#1B1A1A — rgb(27, 26, 26)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(278, 24%, 10%);

text

color: hsl(278, 24%, 10%);

border

border: 2px solid hsl(278, 24%, 10%);

gradient light

background: linear-gradient(to right, hsl(278, 24%, 30%), hsl(278, 24%, 10%));

gradient dark

background: linear-gradient(to right, hsl(278, 24%, 10%), hsl(278, 24%, 0%))

hex

background-color: #1B1320;

tailwind

bg-[hsl(278,24%,10%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(278, 24%, 10%, 0.4);

css variable

--color-primary: hsl(278, 24%, 10%);

Related Colors

Use Cases for Very Dark Indigo

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(278, 24%, 10%)?

HEX: #1B1320 | RGB: rgb(27, 19, 32) | CMYK: 16%, 41%, 0%, 87% | HSV: 277°, 41%, 13%. Copy any format from the conversion table above.

What colors go well with #1B1320?

The complementary color is HSL(98, 24%, 10%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(278, 24%, 10%) in CSS?

As HSL: color: hsl(278, 24%, 10%); — As HEX: color: #1B1320; — As RGB: color: rgb(27, 19, 32); — Tailwind CSS: bg-[hsl(278,24%,10%)] — CSS variable: --color-primary: hsl(278, 24%, 10%);