HSL(213, 84%, 14%)

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(213,84%,14%)]

Color Conversions

Format Value CSS Usage
HSL hsl(213, 84%, 14%) color: hsl(213, 84%, 14%)
HEX #062142 color: #062142
RGB rgb(6, 33, 66) color: rgb(6, 33, 66)
CMYK cmyk(91%, 50%, 0%, 74%)
HSV hsv(213, 91%, 26%)
HWB hwb(213 2% 74%) color: hwb(213 2% 74%)
OKLCH oklch(0.2488 0.0704 255.43) color: oklch(0.2488 0.0704 255.43)
Lab lab(12.73 4.35 -23.77) color: lab(12.73 4.35 -23.77)
LCH lch(12.73 24.16 280.37) color: lch(12.73 24.16 280.37)

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

#12123A — rgb(18, 18, 58)

Deuteranopia (Green-blind)

#100E38 — rgb(16, 14, 56)

Tritanopia (Blue-blind)

#073432 — rgb(7, 52, 50)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(213, 84%, 14%);

text

color: hsl(213, 84%, 14%);

border

border: 2px solid hsl(213, 84%, 14%);

gradient light

background: linear-gradient(to right, hsl(213, 84%, 34%), hsl(213, 84%, 14%));

gradient dark

background: linear-gradient(to right, hsl(213, 84%, 14%), hsl(213, 84%, 0%))

hex

background-color: #062142;

tailwind

bg-[hsl(213,84%,14%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(213, 84%, 14%, 0.4);

css variable

--color-primary: hsl(213, 84%, 14%);

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(213, 84%, 14%)?

HEX: #062142 | RGB: rgb(6, 33, 66) | CMYK: 91%, 50%, 0%, 74% | HSV: 213°, 91%, 26%. Copy any format from the conversion table above.

What colors go well with #062142?

The complementary color is HSL(33, 84%, 14%). For a triadic harmony, use hues 213°, 333°, and 93°. For analogous combinations, try hues 183° and 243°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(213, 84%, 14%) in CSS?

As HSL: color: hsl(213, 84%, 14%); — As HEX: color: #062142; — As RGB: color: rgb(6, 33, 66); — Tailwind CSS: bg-[hsl(213,84%,14%)] — CSS variable: --color-primary: hsl(213, 84%, 14%);