HSL(232, 45%, 56%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(232,45%,56%)]

Color Conversions

Format Value CSS Usage
HSL hsl(232, 45%, 56%) color: hsl(232, 45%, 56%)
HEX #5C6AC1 color: #5C6AC1
RGB rgb(92, 106, 193) color: rgb(92, 106, 193)
CMYK cmyk(52%, 45%, 0%, 24%)
HSV hsv(232, 52%, 76%)
HWB hwb(232 36% 24%) color: hwb(232 36% 24%)
OKLCH oklch(0.555 0.1351 274.28) color: oklch(0.555 0.1351 274.28)
Lab lab(47.54 19.46 -47.39) color: lab(47.54 19.46 -47.39)
LCH lch(47.54 51.23 292.32) color: lch(47.54 51.23 292.32)

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.9:1
vs Black 4.29:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#6262AC — rgb(98, 98, 172)

Deuteranopia (Green-blind)

#6160A7 — rgb(97, 96, 167)

Tritanopia (Blue-blind)

#5D9B98 — rgb(93, 155, 152)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(232, 45%, 56%);

text

color: hsl(232, 45%, 56%);

border

border: 2px solid hsl(232, 45%, 56%);

gradient light

background: linear-gradient(to right, hsl(232, 45%, 76%), hsl(232, 45%, 56%));

gradient dark

background: linear-gradient(to right, hsl(232, 45%, 56%), hsl(232, 45%, 36%))

hex

background-color: #5C6AC1;

tailwind

bg-[hsl(232,45%,56%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(232, 45%, 56%, 0.4);

css variable

--color-primary: hsl(232, 45%, 56%);

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(232, 45%, 56%)?

HEX: #5C6AC1 | RGB: rgb(92, 106, 193) | CMYK: 52%, 45%, 0%, 24% | HSV: 232°, 52%, 76%. Copy any format from the conversion table above.

What colors go well with #5C6AC1?

The complementary color is HSL(52, 45%, 56%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(232, 45%, 56%) in CSS?

As HSL: color: hsl(232, 45%, 56%); — As HEX: color: #5C6AC1; — As RGB: color: rgb(92, 106, 193); — Tailwind CSS: bg-[hsl(232,45%,56%)] — CSS variable: --color-primary: hsl(232, 45%, 56%);