HSL(218, 63%, 60%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(218,63%,60%)]

Color Conversions

Format Value CSS Usage
HSL hsl(218, 63%, 60%) color: hsl(218, 63%, 60%)
HEX #5988D9 color: #5988D9
RGB rgb(89, 136, 217) color: rgb(89, 136, 217)
CMYK cmyk(59%, 37%, 0%, 15%)
HSV hsv(218, 59%, 85%)
HWB hwb(218 35% 15%) color: hwb(218 35% 15%)
OKLCH oklch(0.6303 0.133 260.66) color: oklch(0.6303 0.133 260.66)
Lab lab(56.82 8.36 -46.29) color: lab(56.82 8.36 -46.29)
LCH lch(56.82 47.04 280.24) color: lch(56.82 47.04 280.24)

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

#6D6EC5 — rgb(109, 110, 197)

Deuteranopia (Green-blind)

#6B67C1 — rgb(107, 103, 193)

Tritanopia (Blue-blind)

#5BB6B3 — rgb(91, 182, 179)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(218, 63%, 60%);

text

color: hsl(218, 63%, 60%);

border

border: 2px solid hsl(218, 63%, 60%);

gradient light

background: linear-gradient(to right, hsl(218, 63%, 80%), hsl(218, 63%, 60%));

gradient dark

background: linear-gradient(to right, hsl(218, 63%, 60%), hsl(218, 63%, 40%))

hex

background-color: #5988D9;

tailwind

bg-[hsl(218,63%,60%)]

box shadow

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

css variable

--color-primary: hsl(218, 63%, 60%);

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(218, 63%, 60%)?

HEX: #5988D9 | RGB: rgb(89, 136, 217) | CMYK: 59%, 37%, 0%, 15% | HSV: 218°, 59%, 85%. Copy any format from the conversion table above.

What colors go well with #5988D9?

The complementary color is HSL(38, 63%, 60%). For a triadic harmony, use hues 218°, 338°, and 98°. For analogous combinations, try hues 188° and 248°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(218, 63%, 60%) in CSS?

As HSL: color: hsl(218, 63%, 60%); — As HEX: color: #5988D9; — As RGB: color: rgb(89, 136, 217); — Tailwind CSS: bg-[hsl(218,63%,60%)] — CSS variable: --color-primary: hsl(218, 63%, 60%);