HSL(252, 78%, 7%)

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(252,78%,7%)]

Color Conversions

Format Value CSS Usage
HSL hsl(252, 78%, 7%) color: hsl(252, 78%, 7%)
HEX #090420 color: #090420
RGB rgb(9, 4, 32) color: rgb(9, 4, 32)
CMYK cmyk(72%, 88%, 0%, 87%)
HSV hsv(251, 88%, 13%)
HWB hwb(251 2% 87%) color: hwb(251 2% 87%)
OKLCH oklch(0.1417 0.0589 286.43) color: oklch(0.1417 0.0589 286.43)
Lab lab(2.25 7.37 -15.3) color: lab(2.25 7.37 -15.3)
LCH lch(2.25 16.98 295.72) color: lch(2.25 16.98 295.72)

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

#070719 — rgb(7, 7, 25)

Deuteranopia (Green-blind)

#070818 — rgb(7, 8, 24)

Tritanopia (Blue-blind)

#091413 — rgb(9, 20, 19)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(252, 78%, 7%);

text

color: hsl(252, 78%, 7%);

border

border: 2px solid hsl(252, 78%, 7%);

gradient light

background: linear-gradient(to right, hsl(252, 78%, 27%), hsl(252, 78%, 7%));

gradient dark

background: linear-gradient(to right, hsl(252, 78%, 7%), hsl(252, 78%, 0%))

hex

background-color: #090420;

tailwind

bg-[hsl(252,78%,7%)]

box shadow

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

css variable

--color-primary: hsl(252, 78%, 7%);

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(252, 78%, 7%)?

HEX: #090420 | RGB: rgb(9, 4, 32) | CMYK: 72%, 88%, 0%, 87% | HSV: 251°, 88%, 13%. Copy any format from the conversion table above.

What colors go well with #090420?

The complementary color is HSL(72, 78%, 7%). For a triadic harmony, use hues 252°, 12°, and 132°. For analogous combinations, try hues 222° and 282°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(252, 78%, 7%) in CSS?

As HSL: color: hsl(252, 78%, 7%); — As HEX: color: #090420; — As RGB: color: rgb(9, 4, 32); — Tailwind CSS: bg-[hsl(252,78%,7%)] — CSS variable: --color-primary: hsl(252, 78%, 7%);