HSL(222, 91%, 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(222,91%,11%)]

Color Conversions

Format Value CSS Usage
HSL hsl(222, 91%, 11%) color: hsl(222, 91%, 11%)
HEX #031236 color: #031236
RGB rgb(3, 18, 54) color: rgb(3, 18, 54)
CMYK cmyk(94%, 67%, 0%, 79%)
HSV hsv(222, 94%, 21%)
HWB hwb(222 1% 79%) color: hwb(222 1% 79%)
OKLCH oklch(0.1965 0.0743 262.38) color: oklch(0.1965 0.0743 262.38)
Lab lab(6.49 9.61 -25.3) color: lab(6.49 9.61 -25.3)
LCH lch(6.49 27.06 290.8) color: lch(6.49 27.06 290.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.36:1
vs Black 1.14: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)

#090A2D — rgb(9, 10, 45)

Deuteranopia (Green-blind)

#09082B — rgb(9, 8, 43)

Tritanopia (Blue-blind)

#042625 — rgb(4, 38, 37)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(222, 91%, 11%);

text

color: hsl(222, 91%, 11%);

border

border: 2px solid hsl(222, 91%, 11%);

gradient light

background: linear-gradient(to right, hsl(222, 91%, 31%), hsl(222, 91%, 11%));

gradient dark

background: linear-gradient(to right, hsl(222, 91%, 11%), hsl(222, 91%, 0%))

hex

background-color: #031236;

tailwind

bg-[hsl(222,91%,11%)]

box shadow

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

css variable

--color-primary: hsl(222, 91%, 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(222, 91%, 11%)?

HEX: #031236 | RGB: rgb(3, 18, 54) | CMYK: 94%, 67%, 0%, 79% | HSV: 222°, 94%, 21%. Copy any format from the conversion table above.

What colors go well with #031236?

The complementary color is HSL(42, 91%, 11%). For a triadic harmony, use hues 222°, 342°, and 102°. For analogous combinations, try hues 192° and 252°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(222, 91%, 11%) in CSS?

As HSL: color: hsl(222, 91%, 11%); — As HEX: color: #031236; — As RGB: color: rgb(3, 18, 54); — Tailwind CSS: bg-[hsl(222,91%,11%)] — CSS variable: --color-primary: hsl(222, 91%, 11%);