HSL(253, 85%, 71%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(253,85%,71%)]

Color Conversions

Format Value CSS Usage
HSL hsl(253, 85%, 71%) color: hsl(253, 85%, 71%)
HEX #9176F4 color: #9176F4
RGB rgb(145, 118, 244) color: rgb(145, 118, 244)
CMYK cmyk(41%, 52%, 0%, 4%)
HSV hsv(253, 52%, 96%)
HWB hwb(253 46% 4%) color: hwb(253 46% 4%)
OKLCH oklch(0.6504 0.1814 290.3) color: oklch(0.6504 0.1814 290.3)
Lab lab(57.57 39.5 -59.93) color: lab(57.57 39.5 -59.93)
LCH lch(57.57 71.78 303.39) color: lch(57.57 71.78 303.39)

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.44:1
vs Black 6.1: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)

#8585D6 — rgb(133, 133, 214)

Deuteranopia (Green-blind)

#8789CE — rgb(135, 137, 206)

Tritanopia (Blue-blind)

#90BDB8 — rgb(144, 189, 184)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(253, 85%, 71%);

text

color: hsl(253, 85%, 71%);

border

border: 2px solid hsl(253, 85%, 71%);

gradient light

background: linear-gradient(to right, hsl(253, 85%, 91%), hsl(253, 85%, 71%));

gradient dark

background: linear-gradient(to right, hsl(253, 85%, 71%), hsl(253, 85%, 51%))

hex

background-color: #9176F4;

tailwind

bg-[hsl(253,85%,71%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(253, 85%, 71%, 0.4);

css variable

--color-primary: hsl(253, 85%, 71%);

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(253, 85%, 71%)?

HEX: #9176F4 | RGB: rgb(145, 118, 244) | CMYK: 41%, 52%, 0%, 4% | HSV: 253°, 52%, 96%. Copy any format from the conversion table above.

What colors go well with #9176F4?

The complementary color is HSL(73, 85%, 71%). For a triadic harmony, use hues 253°, 13°, and 133°. For analogous combinations, try hues 223° and 283°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(253, 85%, 71%) in CSS?

As HSL: color: hsl(253, 85%, 71%); — As HEX: color: #9176F4; — As RGB: color: rgb(145, 118, 244); — Tailwind CSS: bg-[hsl(253,85%,71%)] — CSS variable: --color-primary: hsl(253, 85%, 71%);