HSL(222, 13%, 8%)

Very Dark Blue — Blue color

Adjust Color

Color Information

Color Name

Very Dark Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(222,13%,8%)]

Color Conversions

Format Value CSS Usage
HSL hsl(222, 13%, 8%) color: hsl(222, 13%, 8%)
HEX #121317 color: #121317
RGB rgb(18, 19, 23) color: rgb(18, 19, 23)
CMYK cmyk(22%, 17%, 0%, 91%)
HSV hsv(228, 22%, 9%)
HWB hwb(228 7% 91%) color: hwb(228 7% 91%)
OKLCH oklch(0.1874 0.0083 274.45) color: oklch(0.1874 0.0083 274.45)
Lab lab(5.93 0.54 -2.7) color: lab(5.93 0.54 -2.7)
LCH lch(5.93 2.75 281.31) color: lch(5.93 2.75 281.31)

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.56:1
vs Black 1.13: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)

#121216 — rgb(18, 18, 22)

Deuteranopia (Green-blind)

#121216 — rgb(18, 18, 22)

Tritanopia (Blue-blind)

#121515 — rgb(18, 21, 21)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(222, 13%, 8%);

text

color: hsl(222, 13%, 8%);

border

border: 2px solid hsl(222, 13%, 8%);

gradient light

background: linear-gradient(to right, hsl(222, 13%, 28%), hsl(222, 13%, 8%));

gradient dark

background: linear-gradient(to right, hsl(222, 13%, 8%), hsl(222, 13%, 0%))

hex

background-color: #121317;

tailwind

bg-[hsl(222,13%,8%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(222, 13%, 8%, 0.4);

css variable

--color-primary: hsl(222, 13%, 8%);

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(222, 13%, 8%)?

HEX: #121317 | RGB: rgb(18, 19, 23) | CMYK: 22%, 17%, 0%, 91% | HSV: 228°, 22%, 9%. Copy any format from the conversion table above.

What colors go well with #121317?

The complementary color is HSL(42, 13%, 8%). For a triadic harmony, use hues 222°, 342°, and 102°. For analogous combinations, try hues 192° and 252°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(222, 13%, 8%) in CSS?

As HSL: color: hsl(222, 13%, 8%); — As HEX: color: #121317; — As RGB: color: rgb(18, 19, 23); — Tailwind CSS: bg-[hsl(222,13%,8%)] — CSS variable: --color-primary: hsl(222, 13%, 8%);