HSL(253, 17%, 62%)

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%,62%)]

Color Conversions

Format Value CSS Usage
HSL hsl(253, 17%, 62%) color: hsl(253, 17%, 62%)
HEX #958EAF color: #958EAF
RGB rgb(149, 142, 175) color: rgb(149, 142, 175)
CMYK cmyk(15%, 19%, 0%, 31%)
HSV hsv(253, 19%, 69%)
HWB hwb(253 56% 31%) color: hwb(253 56% 31%)
OKLCH oklch(0.6642 0.0489 294.76) color: oklch(0.6642 0.0489 294.76)
Lab lab(60.63 9.38 -16.35) color: lab(60.63 9.38 -16.35)
LCH lch(60.63 18.85 299.84) color: lch(60.63 18.85 299.84)

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

#9292A7 — rgb(146, 146, 167)

Deuteranopia (Green-blind)

#9293A5 — rgb(146, 147, 165)

Tritanopia (Blue-blind)

#95A19F — rgb(149, 161, 159)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(253, 17%, 82%), hsl(253, 17%, 62%));

gradient dark

background: linear-gradient(to right, hsl(253, 17%, 62%), hsl(253, 17%, 42%))

hex

background-color: #958EAF;

tailwind

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

box shadow

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

css variable

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

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

HEX: #958EAF | RGB: rgb(149, 142, 175) | CMYK: 15%, 19%, 0%, 31% | HSV: 253°, 19%, 69%. Copy any format from the conversion table above.

What colors go well with #958EAF?

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

As HSL: color: hsl(253, 17%, 62%); — As HEX: color: #958EAF; — As RGB: color: rgb(149, 142, 175); — Tailwind CSS: bg-[hsl(253,17%,62%)] — CSS variable: --color-primary: hsl(253, 17%, 62%);