HSL(243, 41%, 52%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(243,41%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(243, 41%, 52%) color: hsl(243, 41%, 52%)
HEX #5752B7 color: #5752B7
RGB rgb(87, 82, 183) color: rgb(87, 82, 183)
CMYK cmyk(52%, 55%, 0%, 28%)
HSV hsv(243, 55%, 72%)
HWB hwb(243 32% 28%) color: hwb(243 32% 28%)
OKLCH oklch(0.4982 0.1548 281.41) color: oklch(0.4982 0.1548 281.41)
Lab lab(40.38 30.13 -53.08) color: lab(40.38 30.13 -53.08)
LCH lch(40.38 61.04 299.58) color: lch(40.38 61.04 299.58)

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 6.37:1
vs Black 3.3:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#55559F — rgb(85, 85, 159)

Deuteranopia (Green-blind)

#555699 — rgb(85, 86, 153)

Tritanopia (Blue-blind)

#578B87 — rgb(87, 139, 135)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(243, 41%, 52%);

text

color: hsl(243, 41%, 52%);

border

border: 2px solid hsl(243, 41%, 52%);

gradient light

background: linear-gradient(to right, hsl(243, 41%, 72%), hsl(243, 41%, 52%));

gradient dark

background: linear-gradient(to right, hsl(243, 41%, 52%), hsl(243, 41%, 32%))

hex

background-color: #5752B7;

tailwind

bg-[hsl(243,41%,52%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(243, 41%, 52%, 0.4);

css variable

--color-primary: hsl(243, 41%, 52%);

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(243, 41%, 52%)?

HEX: #5752B7 | RGB: rgb(87, 82, 183) | CMYK: 52%, 55%, 0%, 28% | HSV: 243°, 55%, 72%. Copy any format from the conversion table above.

What colors go well with #5752B7?

The complementary color is HSL(63, 41%, 52%). For a triadic harmony, use hues 243°, 3°, and 123°. For analogous combinations, try hues 213° and 273°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(243, 41%, 52%) in CSS?

As HSL: color: hsl(243, 41%, 52%); — As HEX: color: #5752B7; — As RGB: color: rgb(87, 82, 183); — Tailwind CSS: bg-[hsl(243,41%,52%)] — CSS variable: --color-primary: hsl(243, 41%, 52%);