HSL(227, 45%, 12%)

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(227,45%,12%)]

Color Conversions

Format Value CSS Usage
HSL hsl(227, 45%, 12%) color: hsl(227, 45%, 12%)
HEX #11172C color: #11172C
RGB rgb(17, 23, 44) color: rgb(17, 23, 44)
CMYK cmyk(61%, 48%, 0%, 83%)
HSV hsv(227, 61%, 17%)
HWB hwb(227 7% 83%) color: hwb(227 7% 83%)
OKLCH oklch(0.2108 0.0426 270.37) color: oklch(0.2108 0.0426 270.37)
Lab lab(8.25 4.74 -15.08) color: lab(8.25 4.74 -15.08)
LCH lch(8.25 15.81 287.45) color: lch(8.25 15.81 287.45)

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.76:1
vs Black 1.18: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)

#141427 — rgb(20, 20, 39)

Deuteranopia (Green-blind)

#131326 — rgb(19, 19, 38)

Tritanopia (Blue-blind)

#112322 — rgb(17, 35, 34)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(227, 45%, 12%);

text

color: hsl(227, 45%, 12%);

border

border: 2px solid hsl(227, 45%, 12%);

gradient light

background: linear-gradient(to right, hsl(227, 45%, 32%), hsl(227, 45%, 12%));

gradient dark

background: linear-gradient(to right, hsl(227, 45%, 12%), hsl(227, 45%, 0%))

hex

background-color: #11172C;

tailwind

bg-[hsl(227,45%,12%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(227, 45%, 12%, 0.4);

css variable

--color-primary: hsl(227, 45%, 12%);

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(227, 45%, 12%)?

HEX: #11172C | RGB: rgb(17, 23, 44) | CMYK: 61%, 48%, 0%, 83% | HSV: 227°, 61%, 17%. Copy any format from the conversion table above.

What colors go well with #11172C?

The complementary color is HSL(47, 45%, 12%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(227, 45%, 12%) in CSS?

As HSL: color: hsl(227, 45%, 12%); — As HEX: color: #11172C; — As RGB: color: rgb(17, 23, 44); — Tailwind CSS: bg-[hsl(227,45%,12%)] — CSS variable: --color-primary: hsl(227, 45%, 12%);