HSL(262, 90%, 7%)

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(262,90%,7%)]

Color Conversions

Format Value CSS Usage
HSL hsl(262, 90%, 7%) color: hsl(262, 90%, 7%)
HEX #0E0222 color: #0E0222
RGB rgb(14, 2, 34) color: rgb(14, 2, 34)
CMYK cmyk(59%, 94%, 0%, 87%)
HSV hsv(263, 94%, 13%)
HWB hwb(263 1% 87%) color: hwb(263 1% 87%)
OKLCH oklch(0.1446 0.0677 296.7) color: oklch(0.1446 0.0677 296.7)
Lab lab(2.28 10.31 -16.81) color: lab(2.28 10.31 -16.81)
LCH lch(2.28 19.72 301.52) color: lch(2.28 19.72 301.52)

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 19.99: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)

#09091A — rgb(9, 9, 26)

Deuteranopia (Green-blind)

#0A0A18 — rgb(10, 10, 24)

Tritanopia (Blue-blind)

#0D1413 — rgb(13, 20, 19)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(262, 90%, 7%);

text

color: hsl(262, 90%, 7%);

border

border: 2px solid hsl(262, 90%, 7%);

gradient light

background: linear-gradient(to right, hsl(262, 90%, 27%), hsl(262, 90%, 7%));

gradient dark

background: linear-gradient(to right, hsl(262, 90%, 7%), hsl(262, 90%, 0%))

hex

background-color: #0E0222;

tailwind

bg-[hsl(262,90%,7%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(262, 90%, 7%, 0.4);

css variable

--color-primary: hsl(262, 90%, 7%);

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(262, 90%, 7%)?

HEX: #0E0222 | RGB: rgb(14, 2, 34) | CMYK: 59%, 94%, 0%, 87% | HSV: 263°, 94%, 13%. Copy any format from the conversion table above.

What colors go well with #0E0222?

The complementary color is HSL(82, 90%, 7%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(262, 90%, 7%) in CSS?

As HSL: color: hsl(262, 90%, 7%); — As HEX: color: #0E0222; — As RGB: color: rgb(14, 2, 34); — Tailwind CSS: bg-[hsl(262,90%,7%)] — CSS variable: --color-primary: hsl(262, 90%, 7%);