HSL(253, 40%, 48%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(253,40%,48%)]

Color Conversions

Format Value CSS Usage
HSL hsl(253, 40%, 48%) color: hsl(253, 40%, 48%)
HEX #5F49AB color: #5F49AB
RGB rgb(95, 73, 171) color: rgb(95, 73, 171)
CMYK cmyk(44%, 57%, 0%, 33%)
HSV hsv(253, 57%, 67%)
HWB hwb(253 29% 33%) color: hwb(253 29% 33%)
OKLCH oklch(0.4803 0.1504 289.88) color: oklch(0.4803 0.1504 289.88)
Lab lab(38.09 33.72 -49.64) color: lab(38.09 33.72 -49.64)
LCH lch(38.09 60.01 304.19) color: lch(38.09 60.01 304.19)

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 6.94:1
vs Black 3.03:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#555593 — rgb(85, 85, 147)

Deuteranopia (Green-blind)

#57588E — rgb(87, 88, 142)

Tritanopia (Blue-blind)

#5E817C — rgb(94, 129, 124)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(253, 40%, 48%);

text

color: hsl(253, 40%, 48%);

border

border: 2px solid hsl(253, 40%, 48%);

gradient light

background: linear-gradient(to right, hsl(253, 40%, 68%), hsl(253, 40%, 48%));

gradient dark

background: linear-gradient(to right, hsl(253, 40%, 48%), hsl(253, 40%, 28%))

hex

background-color: #5F49AB;

tailwind

bg-[hsl(253,40%,48%)]

box shadow

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

css variable

--color-primary: hsl(253, 40%, 48%);

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

HEX: #5F49AB | RGB: rgb(95, 73, 171) | CMYK: 44%, 57%, 0%, 33% | HSV: 253°, 57%, 67%. Copy any format from the conversion table above.

What colors go well with #5F49AB?

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

As HSL: color: hsl(253, 40%, 48%); — As HEX: color: #5F49AB; — As RGB: color: rgb(95, 73, 171); — Tailwind CSS: bg-[hsl(253,40%,48%)] — CSS variable: --color-primary: hsl(253, 40%, 48%);