HSL(281, 40%, 2%)

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(281,40%,2%)]

Color Conversions

Format Value CSS Usage
HSL hsl(281, 40%, 2%) color: hsl(281, 40%, 2%)
HEX #060307 color: #060307
RGB rgb(6, 3, 7) color: rgb(6, 3, 7)
CMYK cmyk(14%, 57%, 0%, 97%)
HSV hsv(285, 57%, 3%)
HWB hwb(285 1% 97%) color: hwb(285 1% 97%)
OKLCH oklch(0.1079 0.0164 319.1) color: oklch(0.1079 0.0164 319.1)
Lab lab(1.08 1.34 -1.24) color: lab(1.08 1.34 -1.24)
LCH lch(1.08 1.83 317.22) color: lch(1.08 1.83 317.22)

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.51:1
vs Black 1.02: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)

#050506 — rgb(5, 5, 6)

Deuteranopia (Green-blind)

#050506 — rgb(5, 5, 6)

Tritanopia (Blue-blind)

#060505 — rgb(6, 5, 5)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(281, 40%, 2%);

text

color: hsl(281, 40%, 2%);

border

border: 2px solid hsl(281, 40%, 2%);

gradient light

background: linear-gradient(to right, hsl(281, 40%, 22%), hsl(281, 40%, 2%));

gradient dark

background: linear-gradient(to right, hsl(281, 40%, 2%), hsl(281, 40%, 0%))

hex

background-color: #060307;

tailwind

bg-[hsl(281,40%,2%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(281, 40%, 2%, 0.4);

css variable

--color-primary: hsl(281, 40%, 2%);

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(281, 40%, 2%)?

HEX: #060307 | RGB: rgb(6, 3, 7) | CMYK: 14%, 57%, 0%, 97% | HSV: 285°, 57%, 3%. Copy any format from the conversion table above.

What colors go well with #060307?

The complementary color is HSL(101, 40%, 2%). For a triadic harmony, use hues 281°, 41°, and 161°. For analogous combinations, try hues 251° and 311°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(281, 40%, 2%) in CSS?

As HSL: color: hsl(281, 40%, 2%); — As HEX: color: #060307; — As RGB: color: rgb(6, 3, 7); — Tailwind CSS: bg-[hsl(281,40%,2%)] — CSS variable: --color-primary: hsl(281, 40%, 2%);