HSL(271, 68%, 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(271,68%,10%)]

Color Conversions

Format Value CSS Usage
HSL hsl(271, 68%, 10%) color: hsl(271, 68%, 10%)
HEX #1A082B color: #1A082B
RGB rgb(26, 8, 43) color: rgb(26, 8, 43)
CMYK cmyk(40%, 81%, 0%, 83%)
HSV hsv(271, 81%, 17%)
HWB hwb(271 3% 83%) color: hwb(271 3% 83%)
OKLCH oklch(0.1865 0.0685 304.19) color: oklch(0.1865 0.0685 304.19)
Lab lab(5.13 16.59 -19.21) color: lab(5.13 16.59 -19.21)
LCH lch(5.13 25.38 310.81) color: lch(5.13 25.38 310.81)

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.86:1
vs Black 1.11: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)

#121223 — rgb(18, 18, 35)

Deuteranopia (Green-blind)

#131521 — rgb(19, 21, 33)

Tritanopia (Blue-blind)

#191C1A — rgb(25, 28, 26)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(271, 68%, 10%);

text

color: hsl(271, 68%, 10%);

border

border: 2px solid hsl(271, 68%, 10%);

gradient light

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

gradient dark

background: linear-gradient(to right, hsl(271, 68%, 10%), hsl(271, 68%, 0%))

hex

background-color: #1A082B;

tailwind

bg-[hsl(271,68%,10%)]

box shadow

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

css variable

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

HEX: #1A082B | RGB: rgb(26, 8, 43) | CMYK: 40%, 81%, 0%, 83% | HSV: 271°, 81%, 17%. Copy any format from the conversion table above.

What colors go well with #1A082B?

The complementary color is HSL(91, 68%, 10%). For a triadic harmony, use hues 271°, 31°, and 151°. For analogous combinations, try hues 241° and 301°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(271, 68%, 10%) in CSS?

As HSL: color: hsl(271, 68%, 10%); — As HEX: color: #1A082B; — As RGB: color: rgb(26, 8, 43); — Tailwind CSS: bg-[hsl(271,68%,10%)] — CSS variable: --color-primary: hsl(271, 68%, 10%);