HSL(212, 100%, 11%)

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(212,100%,11%)]

Color Conversions

Format Value CSS Usage
HSL hsl(212, 100%, 11%) color: hsl(212, 100%, 11%)
HEX #001A38 color: #001A38
RGB rgb(0, 26, 56) color: rgb(0, 26, 56)
CMYK cmyk(100%, 54%, 0%, 78%)
HSV hsv(212, 100%, 22%)
HWB hwb(212 0% 78%) color: hwb(212 0% 78%)
OKLCH oklch(0.2181 0.0673 253.05) color: oklch(0.2181 0.0673 253.05)
Lab lab(9.19 3.93 -22.39) color: lab(9.19 3.93 -22.39)
LCH lch(9.19 22.73 279.96) color: lch(9.19 22.73 279.96)

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

#0B0B31 — rgb(11, 11, 49)

Deuteranopia (Green-blind)

#0A082F — rgb(10, 8, 47)

Tritanopia (Blue-blind)

#012B2A — rgb(1, 43, 42)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(212, 100%, 11%);

text

color: hsl(212, 100%, 11%);

border

border: 2px solid hsl(212, 100%, 11%);

gradient light

background: linear-gradient(to right, hsl(212, 100%, 31%), hsl(212, 100%, 11%));

gradient dark

background: linear-gradient(to right, hsl(212, 100%, 11%), hsl(212, 100%, 0%))

hex

background-color: #001A38;

tailwind

bg-[hsl(212,100%,11%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(212, 100%, 11%, 0.4);

css variable

--color-primary: hsl(212, 100%, 11%);

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(212, 100%, 11%)?

HEX: #001A38 | RGB: rgb(0, 26, 56) | CMYK: 100%, 54%, 0%, 78% | HSV: 212°, 100%, 22%. Copy any format from the conversion table above.

What colors go well with #001A38?

The complementary color is HSL(32, 100%, 11%). For a triadic harmony, use hues 212°, 332°, and 92°. For analogous combinations, try hues 182° and 242°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(212, 100%, 11%) in CSS?

As HSL: color: hsl(212, 100%, 11%); — As HEX: color: #001A38; — As RGB: color: rgb(0, 26, 56); — Tailwind CSS: bg-[hsl(212,100%,11%)] — CSS variable: --color-primary: hsl(212, 100%, 11%);