HSL(248, 56%, 56%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(248,56%,56%)]

Color Conversions

Format Value CSS Usage
HSL hsl(248, 56%, 56%) color: hsl(248, 56%, 56%)
HEX #6150CE color: #6150CE
RGB rgb(97, 80, 206) color: rgb(97, 80, 206)
CMYK cmyk(53%, 61%, 0%, 19%)
HSV hsv(248, 61%, 81%)
HWB hwb(248 32% 19%) color: hwb(248 32% 19%)
OKLCH oklch(0.52 0.1868 283.95) color: oklch(0.52 0.1868 283.95)
Lab lab(42.36 40.47 -63.2) color: lab(42.36 40.47 -63.2)
LCH lch(42.36 75.05 302.63) color: lch(42.36 75.05 302.63)

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 5.92:1
vs Black 3.55: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)

#5A59B0 — rgb(90, 89, 176)

Deuteranopia (Green-blind)

#5B5CA8 — rgb(91, 92, 168)

Tritanopia (Blue-blind)

#609792 — rgb(96, 151, 146)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(248, 56%, 56%);

text

color: hsl(248, 56%, 56%);

border

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

gradient light

background: linear-gradient(to right, hsl(248, 56%, 76%), hsl(248, 56%, 56%));

gradient dark

background: linear-gradient(to right, hsl(248, 56%, 56%), hsl(248, 56%, 36%))

hex

background-color: #6150CE;

tailwind

bg-[hsl(248,56%,56%)]

box shadow

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

css variable

--color-primary: hsl(248, 56%, 56%);

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, 56%, 56%)?

HEX: #6150CE | RGB: rgb(97, 80, 206) | CMYK: 53%, 61%, 0%, 19% | HSV: 248°, 61%, 81%. Copy any format from the conversion table above.

What colors go well with #6150CE?

The complementary color is HSL(68, 56%, 56%). 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, 56%, 56%) in CSS?

As HSL: color: hsl(248, 56%, 56%); — As HEX: color: #6150CE; — As RGB: color: rgb(97, 80, 206); — Tailwind CSS: bg-[hsl(248,56%,56%)] — CSS variable: --color-primary: hsl(248, 56%, 56%);