HSL(215, 90%, 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(215,90%,11%)]

Color Conversions

Format Value CSS Usage
HSL hsl(215, 90%, 11%) color: hsl(215, 90%, 11%)
HEX #031835 color: #031835
RGB rgb(3, 24, 53) color: rgb(3, 24, 53)
CMYK cmyk(94%, 55%, 0%, 79%)
HSV hsv(215, 94%, 21%)
HWB hwb(215 1% 79%) color: hwb(215 1% 79%)
OKLCH oklch(0.2116 0.0636 256.27) color: oklch(0.2116 0.0636 256.27)
Lab lab(8.39 4.67 -21.5) color: lab(8.39 4.67 -21.5)
LCH lch(8.39 22 282.25) color: lch(8.39 22 282.25)

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

#0C0C2E — rgb(12, 12, 46)

Deuteranopia (Green-blind)

#0B092C — rgb(11, 9, 44)

Tritanopia (Blue-blind)

#042827 — rgb(4, 40, 39)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(215, 90%, 11%);

text

color: hsl(215, 90%, 11%);

border

border: 2px solid hsl(215, 90%, 11%);

gradient light

background: linear-gradient(to right, hsl(215, 90%, 31%), hsl(215, 90%, 11%));

gradient dark

background: linear-gradient(to right, hsl(215, 90%, 11%), hsl(215, 90%, 0%))

hex

background-color: #031835;

tailwind

bg-[hsl(215,90%,11%)]

box shadow

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

css variable

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

HEX: #031835 | RGB: rgb(3, 24, 53) | CMYK: 94%, 55%, 0%, 79% | HSV: 215°, 94%, 21%. Copy any format from the conversion table above.

What colors go well with #031835?

The complementary color is HSL(35, 90%, 11%). For a triadic harmony, use hues 215°, 335°, and 95°. For analogous combinations, try hues 185° and 245°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(215, 90%, 11%) in CSS?

As HSL: color: hsl(215, 90%, 11%); — As HEX: color: #031835; — As RGB: color: rgb(3, 24, 53); — Tailwind CSS: bg-[hsl(215,90%,11%)] — CSS variable: --color-primary: hsl(215, 90%, 11%);