HSL(222, 45%, 56%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(222, 45%, 56%) color: hsl(222, 45%, 56%)
HEX #5C7BC1 color: #5C7BC1
RGB rgb(92, 123, 193) color: rgb(92, 123, 193)
CMYK cmyk(52%, 36%, 0%, 24%)
HSV hsv(222, 52%, 76%)
HWB hwb(222 36% 24%) color: hwb(222 36% 24%)
OKLCH oklch(0.5906 0.1135 265.02) color: oklch(0.5906 0.1135 265.02)
Lab lab(52.16 9.03 -40.05) color: lab(52.16 9.03 -40.05)
LCH lch(52.16 41.06 282.71) color: lch(52.16 41.06 282.71)

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.15:1
vs Black 5.06: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)

#696AB0 — rgb(105, 106, 176)

Deuteranopia (Green-blind)

#6865AC — rgb(104, 101, 172)

Tritanopia (Blue-blind)

#5EA3A0 — rgb(94, 163, 160)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #5C7BC1;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(222, 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(222, 45%, 56%)?

HEX: #5C7BC1 | RGB: rgb(92, 123, 193) | CMYK: 52%, 36%, 0%, 24% | HSV: 222°, 52%, 76%. Copy any format from the conversion table above.

What colors go well with #5C7BC1?

The complementary color is HSL(42, 45%, 56%). For a triadic harmony, use hues 222°, 342°, and 102°. For analogous combinations, try hues 192° and 252°. See the Color Harmony section above for complete palettes with previews.

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

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