HSL(252, 43%, 47%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(252,43%,47%)]

Color Conversions

Format Value CSS Usage
HSL hsl(252, 43%, 47%) color: hsl(252, 43%, 47%)
HEX #5944AB color: #5944AB
RGB rgb(89, 68, 171) color: rgb(89, 68, 171)
CMYK cmyk(48%, 60%, 0%, 33%)
HSV hsv(252, 60%, 67%)
HWB hwb(252 27% 33%) color: hwb(252 27% 33%)
OKLCH oklch(0.4662 0.1577 288.08) color: oklch(0.4662 0.1577 288.08)
Lab lab(36.36 35.41 -52.46) color: lab(36.36 35.41 -52.46)
LCH lch(36.36 63.29 304.02) color: lch(36.36 63.29 304.02)

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 7.4:1
vs Black 2.84: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)

#505092 — rgb(80, 80, 146)

Deuteranopia (Green-blind)

#51538C — rgb(81, 83, 140)

Tritanopia (Blue-blind)

#587E7A — rgb(88, 126, 122)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(252, 43%, 47%);

text

color: hsl(252, 43%, 47%);

border

border: 2px solid hsl(252, 43%, 47%);

gradient light

background: linear-gradient(to right, hsl(252, 43%, 67%), hsl(252, 43%, 47%));

gradient dark

background: linear-gradient(to right, hsl(252, 43%, 47%), hsl(252, 43%, 27%))

hex

background-color: #5944AB;

tailwind

bg-[hsl(252,43%,47%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(252, 43%, 47%, 0.4);

css variable

--color-primary: hsl(252, 43%, 47%);

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(252, 43%, 47%)?

HEX: #5944AB | RGB: rgb(89, 68, 171) | CMYK: 48%, 60%, 0%, 33% | HSV: 252°, 60%, 67%. Copy any format from the conversion table above.

What colors go well with #5944AB?

The complementary color is HSL(72, 43%, 47%). For a triadic harmony, use hues 252°, 12°, and 132°. For analogous combinations, try hues 222° and 282°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(252, 43%, 47%) in CSS?

As HSL: color: hsl(252, 43%, 47%); — As HEX: color: #5944AB; — As RGB: color: rgb(89, 68, 171); — Tailwind CSS: bg-[hsl(252,43%,47%)] — CSS variable: --color-primary: hsl(252, 43%, 47%);