HSL(248, 50%, 53%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(248,50%,53%)]

Color Conversions

Format Value CSS Usage
HSL hsl(248, 50%, 53%) color: hsl(248, 50%, 53%)
HEX #5B4BC3 color: #5B4BC3
RGB rgb(91, 75, 195) color: rgb(91, 75, 195)
CMYK cmyk(53%, 62%, 0%, 24%)
HSV hsv(248, 62%, 76%)
HWB hwb(248 29% 24%) color: hwb(248 29% 24%)
OKLCH oklch(0.4982 0.1797 283.82) color: oklch(0.4982 0.1797 283.82)
Lab lab(39.91 38.94 -60.84) color: lab(39.91 38.94 -60.84)
LCH lch(39.91 72.23 302.62) color: lch(39.91 72.23 302.62)

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.48:1
vs Black 3.24: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)

#5454A6 — rgb(84, 84, 166)

Deuteranopia (Green-blind)

#55569F — rgb(85, 86, 159)

Tritanopia (Blue-blind)

#5A8F8A — rgb(90, 143, 138)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(248, 50%, 53%);

text

color: hsl(248, 50%, 53%);

border

border: 2px solid hsl(248, 50%, 53%);

gradient light

background: linear-gradient(to right, hsl(248, 50%, 73%), hsl(248, 50%, 53%));

gradient dark

background: linear-gradient(to right, hsl(248, 50%, 53%), hsl(248, 50%, 33%))

hex

background-color: #5B4BC3;

tailwind

bg-[hsl(248,50%,53%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(248, 50%, 53%, 0.4);

css variable

--color-primary: hsl(248, 50%, 53%);

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(248, 50%, 53%)?

HEX: #5B4BC3 | RGB: rgb(91, 75, 195) | CMYK: 53%, 62%, 0%, 24% | HSV: 248°, 62%, 76%. Copy any format from the conversion table above.

What colors go well with #5B4BC3?

The complementary color is HSL(68, 50%, 53%). For a triadic harmony, use hues 248°, 8°, and 128°. For analogous combinations, try hues 218° and 278°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(248, 50%, 53%) in CSS?

As HSL: color: hsl(248, 50%, 53%); — As HEX: color: #5B4BC3; — As RGB: color: rgb(91, 75, 195); — Tailwind CSS: bg-[hsl(248,50%,53%)] — CSS variable: --color-primary: hsl(248, 50%, 53%);