HSL(218, 40%, 53%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(218,40%,53%)]

Color Conversions

Format Value CSS Usage
HSL hsl(218, 40%, 53%) color: hsl(218, 40%, 53%)
HEX #577AB7 color: #577AB7
RGB rgb(87, 122, 183) color: rgb(87, 122, 183)
CMYK cmyk(52%, 33%, 0%, 28%)
HSV hsv(218, 52%, 72%)
HWB hwb(218 35% 28%) color: hwb(218 35% 28%)
OKLCH oklch(0.5801 0.1026 261) color: oklch(0.5801 0.1026 261)
Lab lab(51.11 5.3 -35.98) color: lab(51.11 5.3 -35.98)
LCH lch(51.11 36.37 278.38) color: lch(51.11 36.37 278.38)

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.31:1
vs Black 4.87: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)

#6666A8 — rgb(102, 102, 168)

Deuteranopia (Green-blind)

#6462A5 — rgb(100, 98, 165)

Tritanopia (Blue-blind)

#599D9A — rgb(89, 157, 154)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(218, 40%, 53%);

text

color: hsl(218, 40%, 53%);

border

border: 2px solid hsl(218, 40%, 53%);

gradient light

background: linear-gradient(to right, hsl(218, 40%, 73%), hsl(218, 40%, 53%));

gradient dark

background: linear-gradient(to right, hsl(218, 40%, 53%), hsl(218, 40%, 33%))

hex

background-color: #577AB7;

tailwind

bg-[hsl(218,40%,53%)]

box shadow

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

css variable

--color-primary: hsl(218, 40%, 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(218, 40%, 53%)?

HEX: #577AB7 | RGB: rgb(87, 122, 183) | CMYK: 52%, 33%, 0%, 28% | HSV: 218°, 52%, 72%. Copy any format from the conversion table above.

What colors go well with #577AB7?

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

As HSL: color: hsl(218, 40%, 53%); — As HEX: color: #577AB7; — As RGB: color: rgb(87, 122, 183); — Tailwind CSS: bg-[hsl(218,40%,53%)] — CSS variable: --color-primary: hsl(218, 40%, 53%);