HSL(196, 50%, 6%)

Very Dark Blue — Blue color

Adjust Color

Color Information

Color Name

Very Dark Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(196,50%,6%)]

Color Conversions

Format Value CSS Usage
HSL hsl(196, 50%, 6%) color: hsl(196, 50%, 6%)
HEX #081317 color: #081317
RGB rgb(8, 19, 23) color: rgb(8, 19, 23)
CMYK cmyk(65%, 17%, 0%, 91%)
HSV hsv(196, 65%, 9%)
HWB hwb(196 3% 91%) color: hwb(196 3% 91%)
OKLCH oklch(0.1782 0.0181 222.83) color: oklch(0.1782 0.0181 222.83)
Lab lab(5.23 -2.58 -3.8) color: lab(5.23 -2.58 -3.8)
LCH lch(5.23 4.59 235.83) color: lch(5.23 4.59 235.83)

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.82:1
vs Black 1.12: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)

#0D0D16 — rgb(13, 13, 22)

Deuteranopia (Green-blind)

#0C0B16 — rgb(12, 11, 22)

Tritanopia (Blue-blind)

#091515 — rgb(9, 21, 21)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(196, 50%, 6%);

text

color: hsl(196, 50%, 6%);

border

border: 2px solid hsl(196, 50%, 6%);

gradient light

background: linear-gradient(to right, hsl(196, 50%, 26%), hsl(196, 50%, 6%));

gradient dark

background: linear-gradient(to right, hsl(196, 50%, 6%), hsl(196, 50%, 0%))

hex

background-color: #081317;

tailwind

bg-[hsl(196,50%,6%)]

box shadow

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

css variable

--color-primary: hsl(196, 50%, 6%);

Related Colors

Use Cases for Very Dark Blue

Corporate branding Trust signals Tech products Social media Primary buttons

Frequently Asked Questions

What are all the color codes for HSL(196, 50%, 6%)?

HEX: #081317 | RGB: rgb(8, 19, 23) | CMYK: 65%, 17%, 0%, 91% | HSV: 196°, 65%, 9%. Copy any format from the conversion table above.

What colors go well with #081317?

The complementary color is HSL(16, 50%, 6%). For a triadic harmony, use hues 196°, 316°, and 76°. For analogous combinations, try hues 166° and 226°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(196, 50%, 6%) in CSS?

As HSL: color: hsl(196, 50%, 6%); — As HEX: color: #081317; — As RGB: color: rgb(8, 19, 23); — Tailwind CSS: bg-[hsl(196,50%,6%)] — CSS variable: --color-primary: hsl(196, 50%, 6%);