HSL(202, 72%, 4%)

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(202,72%,4%)]

Color Conversions

Format Value CSS Usage
HSL hsl(202, 72%, 4%) color: hsl(202, 72%, 4%)
HEX #030C12 color: #030C12
RGB rgb(3, 12, 18) color: rgb(3, 12, 18)
CMYK cmyk(83%, 33%, 0%, 93%)
HSV hsv(204, 83%, 7%)
HWB hwb(204 1% 93%) color: hwb(204 1% 93%)
OKLCH oklch(0.1472 0.0211 233.52) color: oklch(0.1472 0.0211 233.52)
Lab lab(2.94 -1.3 -3.8) color: lab(2.94 -1.3 -3.8)
LCH lch(2.94 4.02 251.11) color: lch(2.94 4.02 251.11)

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.71:1
vs Black 1.07: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)

#070711 — rgb(7, 7, 17)

Deuteranopia (Green-blind)

#060610 — rgb(6, 6, 16)

Tritanopia (Blue-blind)

#030F0F — rgb(3, 15, 15)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(202, 72%, 4%);

text

color: hsl(202, 72%, 4%);

border

border: 2px solid hsl(202, 72%, 4%);

gradient light

background: linear-gradient(to right, hsl(202, 72%, 24%), hsl(202, 72%, 4%));

gradient dark

background: linear-gradient(to right, hsl(202, 72%, 4%), hsl(202, 72%, 0%))

hex

background-color: #030C12;

tailwind

bg-[hsl(202,72%,4%)]

box shadow

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

css variable

--color-primary: hsl(202, 72%, 4%);

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(202, 72%, 4%)?

HEX: #030C12 | RGB: rgb(3, 12, 18) | CMYK: 83%, 33%, 0%, 93% | HSV: 204°, 83%, 7%. Copy any format from the conversion table above.

What colors go well with #030C12?

The complementary color is HSL(22, 72%, 4%). For a triadic harmony, use hues 202°, 322°, and 82°. For analogous combinations, try hues 172° and 232°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(202, 72%, 4%) in CSS?

As HSL: color: hsl(202, 72%, 4%); — As HEX: color: #030C12; — As RGB: color: rgb(3, 12, 18); — Tailwind CSS: bg-[hsl(202,72%,4%)] — CSS variable: --color-primary: hsl(202, 72%, 4%);