HSL(221, 52%, 55%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(221,52%,55%)]

Color Conversions

Format Value CSS Usage
HSL hsl(221, 52%, 55%) color: hsl(221, 52%, 55%)
HEX #5176C8 color: #5176C8
RGB rgb(81, 118, 200) color: rgb(81, 118, 200)
CMYK cmyk(60%, 41%, 0%, 22%)
HSV hsv(221, 60%, 78%)
HWB hwb(221 31% 22%) color: hwb(221 31% 22%)
OKLCH oklch(0.5776 0.1333 264.33) color: oklch(0.5776 0.1333 264.33)
Lab lab(50.54 12.03 -46.66) color: lab(50.54 12.03 -46.66)
LCH lch(50.54 48.19 284.46) color: lch(50.54 48.19 284.46)

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 4.4:1
vs Black 4.78: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)

#6161B4 — rgb(97, 97, 180)

Deuteranopia (Green-blind)

#5F5CAF — rgb(95, 92, 175)

Tritanopia (Blue-blind)

#53A4A1 — rgb(83, 164, 161)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(221, 52%, 55%);

text

color: hsl(221, 52%, 55%);

border

border: 2px solid hsl(221, 52%, 55%);

gradient light

background: linear-gradient(to right, hsl(221, 52%, 75%), hsl(221, 52%, 55%));

gradient dark

background: linear-gradient(to right, hsl(221, 52%, 55%), hsl(221, 52%, 35%))

hex

background-color: #5176C8;

tailwind

bg-[hsl(221,52%,55%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(221, 52%, 55%, 0.4);

css variable

--color-primary: hsl(221, 52%, 55%);

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(221, 52%, 55%)?

HEX: #5176C8 | RGB: rgb(81, 118, 200) | CMYK: 60%, 41%, 0%, 22% | HSV: 221°, 60%, 78%. Copy any format from the conversion table above.

What colors go well with #5176C8?

The complementary color is HSL(41, 52%, 55%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(221, 52%, 55%) in CSS?

As HSL: color: hsl(221, 52%, 55%); — As HEX: color: #5176C8; — As RGB: color: rgb(81, 118, 200); — Tailwind CSS: bg-[hsl(221,52%,55%)] — CSS variable: --color-primary: hsl(221, 52%, 55%);