HSL(248, 23%, 64%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(248,23%,64%)]

Color Conversions

Format Value CSS Usage
HSL hsl(248, 23%, 64%) color: hsl(248, 23%, 64%)
HEX #948EB8 color: #948EB8
RGB rgb(148, 142, 184) color: rgb(148, 142, 184)
CMYK cmyk(20%, 23%, 0%, 28%)
HSV hsv(249, 23%, 72%)
HWB hwb(249 55% 28%) color: hwb(249 55% 28%)
OKLCH oklch(0.6669 0.0619 291.17) color: oklch(0.6669 0.0619 291.17)
Lab lab(60.87 11.1 -21.09) color: lab(60.87 11.1 -21.09)
LCH lch(60.87 23.83 297.76) color: lch(60.87 23.83 297.76)

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 3.08:1
vs Black 6.82:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#9191AE — rgb(145, 145, 174)

Deuteranopia (Green-blind)

#9292AB — rgb(146, 146, 171)

Tritanopia (Blue-blind)

#94A6A4 — rgb(148, 166, 164)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(248, 23%, 64%);

text

color: hsl(248, 23%, 64%);

border

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

gradient light

background: linear-gradient(to right, hsl(248, 23%, 84%), hsl(248, 23%, 64%));

gradient dark

background: linear-gradient(to right, hsl(248, 23%, 64%), hsl(248, 23%, 44%))

hex

background-color: #948EB8;

tailwind

bg-[hsl(248,23%,64%)]

box shadow

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

css variable

--color-primary: hsl(248, 23%, 64%);

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

HEX: #948EB8 | RGB: rgb(148, 142, 184) | CMYK: 20%, 23%, 0%, 28% | HSV: 249°, 23%, 72%. Copy any format from the conversion table above.

What colors go well with #948EB8?

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

As HSL: color: hsl(248, 23%, 64%); — As HEX: color: #948EB8; — As RGB: color: rgb(148, 142, 184); — Tailwind CSS: bg-[hsl(248,23%,64%)] — CSS variable: --color-primary: hsl(248, 23%, 64%);