HSL(221, 63%, 58%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(221,63%,58%)]

Color Conversions

Format Value CSS Usage
HSL hsl(221, 63%, 58%) color: hsl(221, 63%, 58%)
HEX #507BD7 color: #507BD7
RGB rgb(80, 123, 215) color: rgb(80, 123, 215)
CMYK cmyk(63%, 43%, 0%, 16%)
HSV hsv(221, 63%, 84%)
HWB hwb(221 31% 16%) color: hwb(221 31% 16%)
OKLCH oklch(0.5969 0.1484 263.66) color: oklch(0.5969 0.1484 263.66)
Lab lab(52.7 13.87 -51.74) color: lab(52.7 13.87 -51.74)
LCH lch(52.7 53.57 285.01) color: lch(52.7 53.57 285.01)

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

#6363C1 — rgb(99, 99, 193)

Deuteranopia (Green-blind)

#605DBB — rgb(96, 93, 187)

Tritanopia (Blue-blind)

#52AFAB — rgb(82, 175, 171)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(221, 63%, 58%);

text

color: hsl(221, 63%, 58%);

border

border: 2px solid hsl(221, 63%, 58%);

gradient light

background: linear-gradient(to right, hsl(221, 63%, 78%), hsl(221, 63%, 58%));

gradient dark

background: linear-gradient(to right, hsl(221, 63%, 58%), hsl(221, 63%, 38%))

hex

background-color: #507BD7;

tailwind

bg-[hsl(221,63%,58%)]

box shadow

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

css variable

--color-primary: hsl(221, 63%, 58%);

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

HEX: #507BD7 | RGB: rgb(80, 123, 215) | CMYK: 63%, 43%, 0%, 16% | HSV: 221°, 63%, 84%. Copy any format from the conversion table above.

What colors go well with #507BD7?

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

As HSL: color: hsl(221, 63%, 58%); — As HEX: color: #507BD7; — As RGB: color: rgb(80, 123, 215); — Tailwind CSS: bg-[hsl(221,63%,58%)] — CSS variable: --color-primary: hsl(221, 63%, 58%);