HSL(263, 30%, 10%)

Very Dark Indigo — Indigo color

Adjust Color

Color Information

Color Name

Very Dark Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(263,30%,10%)]

Color Conversions

Format Value CSS Usage
HSL hsl(263, 30%, 10%) color: hsl(263, 30%, 10%)
HEX #181221 color: #181221
RGB rgb(24, 18, 33) color: rgb(24, 18, 33)
CMYK cmyk(27%, 45%, 0%, 87%)
HSV hsv(264, 45%, 13%)
HWB hwb(264 7% 87%) color: hwb(264 7% 87%)
OKLCH oklch(0.1974 0.0307 302.05) color: oklch(0.1974 0.0307 302.05)
Lab lab(6.65 6.84 -9.26) color: lab(6.65 6.84 -9.26)
LCH lch(6.65 11.51 306.45) color: lch(6.65 11.51 306.45)

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.3:1
vs Black 1.15: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)

#15151D — rgb(21, 21, 29)

Deuteranopia (Green-blind)

#16161D — rgb(22, 22, 29)

Tritanopia (Blue-blind)

#181B1A — rgb(24, 27, 26)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(263, 30%, 10%);

text

color: hsl(263, 30%, 10%);

border

border: 2px solid hsl(263, 30%, 10%);

gradient light

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

gradient dark

background: linear-gradient(to right, hsl(263, 30%, 10%), hsl(263, 30%, 0%))

hex

background-color: #181221;

tailwind

bg-[hsl(263,30%,10%)]

box shadow

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

css variable

--color-primary: hsl(263, 30%, 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(263, 30%, 10%)?

HEX: #181221 | RGB: rgb(24, 18, 33) | CMYK: 27%, 45%, 0%, 87% | HSV: 264°, 45%, 13%. Copy any format from the conversion table above.

What colors go well with #181221?

The complementary color is HSL(83, 30%, 10%). For a triadic harmony, use hues 263°, 23°, and 143°. For analogous combinations, try hues 233° and 293°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(263, 30%, 10%) in CSS?

As HSL: color: hsl(263, 30%, 10%); — As HEX: color: #181221; — As RGB: color: rgb(24, 18, 33); — Tailwind CSS: bg-[hsl(263,30%,10%)] — CSS variable: --color-primary: hsl(263, 30%, 10%);