HSL(221, 39%, 53%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(221,39%,53%)]

Color Conversions

Format Value CSS Usage
HSL hsl(221, 39%, 53%) color: hsl(221, 39%, 53%)
HEX #5876B6 color: #5876B6
RGB rgb(88, 118, 182) color: rgb(88, 118, 182)
CMYK cmyk(52%, 35%, 0%, 29%)
HSV hsv(221, 52%, 71%)
HWB hwb(221 34% 29%) color: hwb(221 34% 29%)
OKLCH oklch(0.5713 0.1053 264.26) color: oklch(0.5713 0.1053 264.26)
Lab lab(49.99 7.64 -37.17) color: lab(49.99 7.64 -37.17)
LCH lch(49.99 37.95 281.61) color: lch(49.99 37.95 281.61)

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

#6565A7 — rgb(101, 101, 167)

Deuteranopia (Green-blind)

#6361A3 — rgb(99, 97, 163)

Tritanopia (Blue-blind)

#5A9A98 — rgb(90, 154, 152)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(221, 39%, 53%);

text

color: hsl(221, 39%, 53%);

border

border: 2px solid hsl(221, 39%, 53%);

gradient light

background: linear-gradient(to right, hsl(221, 39%, 73%), hsl(221, 39%, 53%));

gradient dark

background: linear-gradient(to right, hsl(221, 39%, 53%), hsl(221, 39%, 33%))

hex

background-color: #5876B6;

tailwind

bg-[hsl(221,39%,53%)]

box shadow

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

css variable

--color-primary: hsl(221, 39%, 53%);

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

HEX: #5876B6 | RGB: rgb(88, 118, 182) | CMYK: 52%, 35%, 0%, 29% | HSV: 221°, 52%, 71%. Copy any format from the conversion table above.

What colors go well with #5876B6?

The complementary color is HSL(41, 39%, 53%). 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, 39%, 53%) in CSS?

As HSL: color: hsl(221, 39%, 53%); — As HEX: color: #5876B6; — As RGB: color: rgb(88, 118, 182); — Tailwind CSS: bg-[hsl(221,39%,53%)] — CSS variable: --color-primary: hsl(221, 39%, 53%);