HSL(243, 80%, 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(243,80%,7%)]

Color Conversions

Format Value CSS Usage
HSL hsl(243, 80%, 7%) color: hsl(243, 80%, 7%)
HEX #050420 color: #050420
RGB rgb(5, 4, 32) color: rgb(5, 4, 32)
CMYK cmyk(84%, 88%, 0%, 87%)
HSV hsv(242, 88%, 13%)
HWB hwb(242 2% 87%) color: hwb(242 2% 87%)
OKLCH oklch(0.1362 0.0599 277.26) color: oklch(0.1362 0.0599 277.26)
Lab lab(2.02 6.32 -15.68) color: lab(2.02 6.32 -15.68)
LCH lch(2.02 16.91 291.95) color: lch(2.02 16.91 291.95)

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:1
vs Black 1.04: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)

#050519 — rgb(5, 5, 25)

Deuteranopia (Green-blind)

#050518 — rgb(5, 5, 24)

Tritanopia (Blue-blind)

#051413 — rgb(5, 20, 19)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(243, 80%, 7%);

text

color: hsl(243, 80%, 7%);

border

border: 2px solid hsl(243, 80%, 7%);

gradient light

background: linear-gradient(to right, hsl(243, 80%, 27%), hsl(243, 80%, 7%));

gradient dark

background: linear-gradient(to right, hsl(243, 80%, 7%), hsl(243, 80%, 0%))

hex

background-color: #050420;

tailwind

bg-[hsl(243,80%,7%)]

box shadow

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

css variable

--color-primary: hsl(243, 80%, 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(243, 80%, 7%)?

HEX: #050420 | RGB: rgb(5, 4, 32) | CMYK: 84%, 88%, 0%, 87% | HSV: 242°, 88%, 13%. Copy any format from the conversion table above.

What colors go well with #050420?

The complementary color is HSL(63, 80%, 7%). For a triadic harmony, use hues 243°, 3°, and 123°. For analogous combinations, try hues 213° and 273°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(243, 80%, 7%) in CSS?

As HSL: color: hsl(243, 80%, 7%); — As HEX: color: #050420; — As RGB: color: rgb(5, 4, 32); — Tailwind CSS: bg-[hsl(243,80%,7%)] — CSS variable: --color-primary: hsl(243, 80%, 7%);