HSL(202, 42%, 7%)

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,42%,7%)]

Color Conversions

Format Value CSS Usage
HSL hsl(202, 42%, 7%) color: hsl(202, 42%, 7%)
HEX #0A1419 color: #0A1419
RGB rgb(10, 20, 25) color: rgb(10, 20, 25)
CMYK cmyk(60%, 20%, 0%, 90%)
HSV hsv(200, 60%, 10%)
HWB hwb(200 4% 90%) color: hwb(200 4% 90%)
OKLCH oklch(0.1841 0.0179 230.66) color: oklch(0.1841 0.0179 230.66)
Lab lab(5.74 -2.16 -4.59) color: lab(5.74 -2.16 -4.59)
LCH lch(5.74 5.07 244.8) color: lch(5.74 5.07 244.8)

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.63: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)

#0E0E18 — rgb(14, 14, 24)

Deuteranopia (Green-blind)

#0E0D18 — rgb(14, 13, 24)

Tritanopia (Blue-blind)

#0B1717 — rgb(11, 23, 23)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(202, 42%, 7%);

text

color: hsl(202, 42%, 7%);

border

border: 2px solid hsl(202, 42%, 7%);

gradient light

background: linear-gradient(to right, hsl(202, 42%, 27%), hsl(202, 42%, 7%));

gradient dark

background: linear-gradient(to right, hsl(202, 42%, 7%), hsl(202, 42%, 0%))

hex

background-color: #0A1419;

tailwind

bg-[hsl(202,42%,7%)]

box shadow

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

css variable

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

HEX: #0A1419 | RGB: rgb(10, 20, 25) | CMYK: 60%, 20%, 0%, 90% | HSV: 200°, 60%, 10%. Copy any format from the conversion table above.

What colors go well with #0A1419?

The complementary color is HSL(22, 42%, 7%). 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, 42%, 7%) in CSS?

As HSL: color: hsl(202, 42%, 7%); — As HEX: color: #0A1419; — As RGB: color: rgb(10, 20, 25); — Tailwind CSS: bg-[hsl(202,42%,7%)] — CSS variable: --color-primary: hsl(202, 42%, 7%);