HSL(222, 80%, 41%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(222,80%,41%)]

Color Conversions

Format Value CSS Usage
HSL hsl(222, 80%, 41%) color: hsl(222, 80%, 41%)
HEX #1547BC color: #1547BC
RGB rgb(21, 71, 188) color: rgb(21, 71, 188)
CMYK cmyk(89%, 62%, 0%, 26%)
HSV hsv(222, 89%, 74%)
HWB hwb(222 8% 26%) color: hwb(222 8% 26%)
OKLCH oklch(0.4473 0.1913 263.25) color: oklch(0.4473 0.1913 263.25)
Lab lab(34.59 30.21 -65.57) color: lab(34.59 30.21 -65.57)
LCH lch(34.59 72.19 294.74) color: lch(34.59 72.19 294.74)

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 7.9:1
vs Black 2.66:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#2B2BA0 — rgb(43, 43, 160)

Deuteranopia (Green-blind)

#282499 — rgb(40, 36, 153)

Tritanopia (Blue-blind)

#188984 — rgb(24, 137, 132)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(222, 80%, 41%);

text

color: hsl(222, 80%, 41%);

border

border: 2px solid hsl(222, 80%, 41%);

gradient light

background: linear-gradient(to right, hsl(222, 80%, 61%), hsl(222, 80%, 41%));

gradient dark

background: linear-gradient(to right, hsl(222, 80%, 41%), hsl(222, 80%, 21%))

hex

background-color: #1547BC;

tailwind

bg-[hsl(222,80%,41%)]

box shadow

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

css variable

--color-primary: hsl(222, 80%, 41%);

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, 80%, 41%)?

HEX: #1547BC | RGB: rgb(21, 71, 188) | CMYK: 89%, 62%, 0%, 26% | HSV: 222°, 89%, 74%. Copy any format from the conversion table above.

What colors go well with #1547BC?

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

As HSL: color: hsl(222, 80%, 41%); — As HEX: color: #1547BC; — As RGB: color: rgb(21, 71, 188); — Tailwind CSS: bg-[hsl(222,80%,41%)] — CSS variable: --color-primary: hsl(222, 80%, 41%);