HSL(276, 45%, 4%)

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(276,45%,4%)]

Color Conversions

Format Value CSS Usage
HSL hsl(276, 45%, 4%) color: hsl(276, 45%, 4%)
HEX #0B060F color: #0B060F
RGB rgb(11, 6, 15) color: rgb(11, 6, 15)
CMYK cmyk(27%, 60%, 0%, 94%)
HSV hsv(273, 60%, 6%)
HWB hwb(273 2% 94%) color: hwb(273 2% 94%)
OKLCH oklch(0.1355 0.0225 310.36) color: oklch(0.1355 0.0225 310.36)
Lab lab(2.13 2.67 -3.22) color: lab(2.13 2.67 -3.22)
LCH lch(2.13 4.18 309.67) color: lch(2.13 4.18 309.67)

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.05:1
vs Black 1.05: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)

#09090D — rgb(9, 9, 13)

Deuteranopia (Green-blind)

#090A0C — rgb(9, 10, 12)

Tritanopia (Blue-blind)

#0B0B0B — rgb(11, 11, 11)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(276, 45%, 4%);

text

color: hsl(276, 45%, 4%);

border

border: 2px solid hsl(276, 45%, 4%);

gradient light

background: linear-gradient(to right, hsl(276, 45%, 24%), hsl(276, 45%, 4%));

gradient dark

background: linear-gradient(to right, hsl(276, 45%, 4%), hsl(276, 45%, 0%))

hex

background-color: #0B060F;

tailwind

bg-[hsl(276,45%,4%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(276, 45%, 4%, 0.4);

css variable

--color-primary: hsl(276, 45%, 4%);

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(276, 45%, 4%)?

HEX: #0B060F | RGB: rgb(11, 6, 15) | CMYK: 27%, 60%, 0%, 94% | HSV: 273°, 60%, 6%. Copy any format from the conversion table above.

What colors go well with #0B060F?

The complementary color is HSL(96, 45%, 4%). For a triadic harmony, use hues 276°, 36°, and 156°. For analogous combinations, try hues 246° and 306°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(276, 45%, 4%) in CSS?

As HSL: color: hsl(276, 45%, 4%); — As HEX: color: #0B060F; — As RGB: color: rgb(11, 6, 15); — Tailwind CSS: bg-[hsl(276,45%,4%)] — CSS variable: --color-primary: hsl(276, 45%, 4%);