HSL(256, 85%, 5%)

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(256,85%,5%)]

Color Conversions

Format Value CSS Usage
HSL hsl(256, 85%, 5%) color: hsl(256, 85%, 5%)
HEX #080218 color: #080218
RGB rgb(8, 2, 24) color: rgb(8, 2, 24)
CMYK cmyk(67%, 92%, 0%, 91%)
HSV hsv(256, 92%, 9%)
HWB hwb(256 1% 91%) color: hwb(256 1% 91%)
OKLCH oklch(0.1233 0.0525 294.41) color: oklch(0.1233 0.0525 294.41)
Lab lab(1.45 5.48 -10.08) color: lab(1.45 5.48 -10.08)
LCH lch(1.45 11.47 298.53) color: lch(1.45 11.47 298.53)

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 20.34:1
vs Black 1.03: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)

#050513 — rgb(5, 5, 19)

Deuteranopia (Green-blind)

#060611 — rgb(6, 6, 17)

Tritanopia (Blue-blind)

#080E0E — rgb(8, 14, 14)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(256, 85%, 5%);

text

color: hsl(256, 85%, 5%);

border

border: 2px solid hsl(256, 85%, 5%);

gradient light

background: linear-gradient(to right, hsl(256, 85%, 25%), hsl(256, 85%, 5%));

gradient dark

background: linear-gradient(to right, hsl(256, 85%, 5%), hsl(256, 85%, 0%))

hex

background-color: #080218;

tailwind

bg-[hsl(256,85%,5%)]

box shadow

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

css variable

--color-primary: hsl(256, 85%, 5%);

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(256, 85%, 5%)?

HEX: #080218 | RGB: rgb(8, 2, 24) | CMYK: 67%, 92%, 0%, 91% | HSV: 256°, 92%, 9%. Copy any format from the conversion table above.

What colors go well with #080218?

The complementary color is HSL(76, 85%, 5%). For a triadic harmony, use hues 256°, 16°, and 136°. For analogous combinations, try hues 226° and 286°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(256, 85%, 5%) in CSS?

As HSL: color: hsl(256, 85%, 5%); — As HEX: color: #080218; — As RGB: color: rgb(8, 2, 24); — Tailwind CSS: bg-[hsl(256,85%,5%)] — CSS variable: --color-primary: hsl(256, 85%, 5%);