HSL(253, 17%, 65%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(253,17%,65%)]

Color Conversions

Format Value CSS Usage
HSL hsl(253, 17%, 65%) color: hsl(253, 17%, 65%)
HEX #9D97B5 color: #9D97B5
RGB rgb(157, 151, 181) color: rgb(157, 151, 181)
CMYK cmyk(13%, 17%, 0%, 29%)
HSV hsv(252, 17%, 71%)
HWB hwb(252 59% 29%) color: hwb(252 59% 29%)
OKLCH oklch(0.6916 0.044 294.39) color: oklch(0.6916 0.044 294.39)
Lab lab(63.87 8.27 -14.78) color: lab(63.87 8.27 -14.78)
LCH lch(63.87 16.94 299.23) color: lch(63.87 16.94 299.23)

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.79:1
vs Black 7.53: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)

#9A9AAE — rgb(154, 154, 174)

Deuteranopia (Green-blind)

#9B9BAC — rgb(155, 155, 172)

Tritanopia (Blue-blind)

#9DA8A7 — rgb(157, 168, 167)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(253, 17%, 65%);

text

color: hsl(253, 17%, 65%);

border

border: 2px solid hsl(253, 17%, 65%);

gradient light

background: linear-gradient(to right, hsl(253, 17%, 85%), hsl(253, 17%, 65%));

gradient dark

background: linear-gradient(to right, hsl(253, 17%, 65%), hsl(253, 17%, 45%))

hex

background-color: #9D97B5;

tailwind

bg-[hsl(253,17%,65%)]

box shadow

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

css variable

--color-primary: hsl(253, 17%, 65%);

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

HEX: #9D97B5 | RGB: rgb(157, 151, 181) | CMYK: 13%, 17%, 0%, 29% | HSV: 252°, 17%, 71%. Copy any format from the conversion table above.

What colors go well with #9D97B5?

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

As HSL: color: hsl(253, 17%, 65%); — As HEX: color: #9D97B5; — As RGB: color: rgb(157, 151, 181); — Tailwind CSS: bg-[hsl(253,17%,65%)] — CSS variable: --color-primary: hsl(253, 17%, 65%);