HSL(223, 88%, 8%)

Very Dark Blue — Blue color

Adjust Color

Color Information

Color Name

Very Dark Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(223,88%,8%)]

Color Conversions

Format Value CSS Usage
HSL hsl(223, 88%, 8%) color: hsl(223, 88%, 8%)
HEX #020D26 color: #020D26
RGB rgb(2, 13, 38) color: rgb(2, 13, 38)
CMYK cmyk(95%, 66%, 0%, 85%)
HSV hsv(222, 95%, 15%)
HWB hwb(222 1% 85%) color: hwb(222 1% 85%)
OKLCH oklch(0.1659 0.0555 260.4) color: oklch(0.1659 0.0555 260.4)
Lab lab(3.98 4.09 -17.35) color: lab(3.98 4.09 -17.35)
LCH lch(3.98 17.83 283.26) color: lch(3.98 17.83 283.26)

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.3:1
vs Black 1.09: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)

#070720 — rgb(7, 7, 32)

Deuteranopia (Green-blind)

#06051F — rgb(6, 5, 31)

Tritanopia (Blue-blind)

#031B1A — rgb(3, 27, 26)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(223, 88%, 8%);

text

color: hsl(223, 88%, 8%);

border

border: 2px solid hsl(223, 88%, 8%);

gradient light

background: linear-gradient(to right, hsl(223, 88%, 28%), hsl(223, 88%, 8%));

gradient dark

background: linear-gradient(to right, hsl(223, 88%, 8%), hsl(223, 88%, 0%))

hex

background-color: #020D26;

tailwind

bg-[hsl(223,88%,8%)]

box shadow

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

css variable

--color-primary: hsl(223, 88%, 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(223, 88%, 8%)?

HEX: #020D26 | RGB: rgb(2, 13, 38) | CMYK: 95%, 66%, 0%, 85% | HSV: 222°, 95%, 15%. Copy any format from the conversion table above.

What colors go well with #020D26?

The complementary color is HSL(43, 88%, 8%). For a triadic harmony, use hues 223°, 343°, and 103°. For analogous combinations, try hues 193° and 253°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(223, 88%, 8%) in CSS?

As HSL: color: hsl(223, 88%, 8%); — As HEX: color: #020D26; — As RGB: color: rgb(2, 13, 38); — Tailwind CSS: bg-[hsl(223,88%,8%)] — CSS variable: --color-primary: hsl(223, 88%, 8%);