HSL(248, 80%, 75%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(248,80%,75%)]

Color Conversions

Format Value CSS Usage
HSL hsl(248, 80%, 75%) color: hsl(248, 80%, 75%)
HEX #9A8CF2 color: #9A8CF2
RGB rgb(154, 140, 242) color: rgb(154, 140, 242)
CMYK cmyk(36%, 42%, 0%, 5%)
HSV hsv(248, 42%, 95%)
HWB hwb(248 55% 5%) color: hwb(248 55% 5%)
OKLCH oklch(0.6955 0.1468 288.27) color: oklch(0.6955 0.1468 288.27)
Lab lab(63.37 28.55 -49.54) color: lab(63.37 28.55 -49.54)
LCH lch(63.37 57.18 299.95) color: lch(63.37 57.18 299.95)

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

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#9494D9 — rgb(148, 148, 217)

Deuteranopia (Green-blind)

#9596D3 — rgb(149, 150, 211)

Tritanopia (Blue-blind)

#99C6C2 — rgb(153, 198, 194)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(248, 80%, 75%);

text

color: hsl(248, 80%, 75%);

border

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

gradient light

background: linear-gradient(to right, hsl(248, 80%, 95%), hsl(248, 80%, 75%));

gradient dark

background: linear-gradient(to right, hsl(248, 80%, 75%), hsl(248, 80%, 55%))

hex

background-color: #9A8CF2;

tailwind

bg-[hsl(248,80%,75%)]

box shadow

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

css variable

--color-primary: hsl(248, 80%, 75%);

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

HEX: #9A8CF2 | RGB: rgb(154, 140, 242) | CMYK: 36%, 42%, 0%, 5% | HSV: 248°, 42%, 95%. Copy any format from the conversion table above.

What colors go well with #9A8CF2?

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

As HSL: color: hsl(248, 80%, 75%); — As HEX: color: #9A8CF2; — As RGB: color: rgb(154, 140, 242); — Tailwind CSS: bg-[hsl(248,80%,75%)] — CSS variable: --color-primary: hsl(248, 80%, 75%);