HSL(247, 61%, 16%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(247,61%,16%)]

Color Conversions

Format Value CSS Usage
HSL hsl(247, 61%, 16%) color: hsl(247, 61%, 16%)
HEX #161042 color: #161042
RGB rgb(22, 16, 66) color: rgb(22, 16, 66)
CMYK cmyk(67%, 76%, 0%, 74%)
HSV hsv(247, 76%, 26%)
HWB hwb(247 6% 74%) color: hwb(247 6% 74%)
OKLCH oklch(0.2192 0.0901 281.39) color: oklch(0.2192 0.0901 281.39)
Lab lab(8.43 20.08 -30.69) color: lab(8.43 20.08 -30.69)
LCH lch(8.43 36.68 303.2) color: lch(8.43 36.68 303.2)

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.69: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)

#131336 — rgb(19, 19, 54)

Deuteranopia (Green-blind)

#141433 — rgb(20, 20, 51)

Tritanopia (Blue-blind)

#162C2A — rgb(22, 44, 42)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(247, 61%, 16%);

text

color: hsl(247, 61%, 16%);

border

border: 2px solid hsl(247, 61%, 16%);

gradient light

background: linear-gradient(to right, hsl(247, 61%, 36%), hsl(247, 61%, 16%));

gradient dark

background: linear-gradient(to right, hsl(247, 61%, 16%), hsl(247, 61%, 0%))

hex

background-color: #161042;

tailwind

bg-[hsl(247,61%,16%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(247, 61%, 16%, 0.4);

css variable

--color-primary: hsl(247, 61%, 16%);

Related Colors

Use Cases for Blue

Corporate branding Trust signals Tech products Social media Primary buttons

Frequently Asked Questions

What are all the color codes for HSL(247, 61%, 16%)?

HEX: #161042 | RGB: rgb(22, 16, 66) | CMYK: 67%, 76%, 0%, 74% | HSV: 247°, 76%, 26%. Copy any format from the conversion table above.

What colors go well with #161042?

The complementary color is HSL(67, 61%, 16%). For a triadic harmony, use hues 247°, 7°, and 127°. For analogous combinations, try hues 217° and 277°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(247, 61%, 16%) in CSS?

As HSL: color: hsl(247, 61%, 16%); — As HEX: color: #161042; — As RGB: color: rgb(22, 16, 66); — Tailwind CSS: bg-[hsl(247,61%,16%)] — CSS variable: --color-primary: hsl(247, 61%, 16%);