HSL(222, 72%, 55%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(222,72%,55%)]

Color Conversions

Format Value CSS Usage
HSL hsl(222, 72%, 55%) color: hsl(222, 72%, 55%)
HEX #3A6BDF color: #3A6BDF
RGB rgb(58, 107, 223) color: rgb(58, 107, 223)
CMYK cmyk(74%, 52%, 0%, 13%)
HSV hsv(222, 74%, 87%)
HWB hwb(222 23% 13%) color: hwb(222 23% 13%)
OKLCH oklch(0.5594 0.1852 264.07) color: oklch(0.5594 0.1852 264.07)
Lab lab(47.93 23.39 -63.98) color: lab(47.93 23.39 -63.98)
LCH lch(47.93 68.12 290.08) color: lch(47.93 68.12 290.08)

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.83:1
vs Black 4.35: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)

#4F50C3 — rgb(79, 80, 195)

Deuteranopia (Green-blind)

#4C49BC — rgb(76, 73, 188)

Tritanopia (Blue-blind)

#3CADA8 — rgb(60, 173, 168)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(222, 72%, 55%);

text

color: hsl(222, 72%, 55%);

border

border: 2px solid hsl(222, 72%, 55%);

gradient light

background: linear-gradient(to right, hsl(222, 72%, 75%), hsl(222, 72%, 55%));

gradient dark

background: linear-gradient(to right, hsl(222, 72%, 55%), hsl(222, 72%, 35%))

hex

background-color: #3A6BDF;

tailwind

bg-[hsl(222,72%,55%)]

box shadow

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

css variable

--color-primary: hsl(222, 72%, 55%);

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, 72%, 55%)?

HEX: #3A6BDF | RGB: rgb(58, 107, 223) | CMYK: 74%, 52%, 0%, 13% | HSV: 222°, 74%, 87%. Copy any format from the conversion table above.

What colors go well with #3A6BDF?

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

As HSL: color: hsl(222, 72%, 55%); — As HEX: color: #3A6BDF; — As RGB: color: rgb(58, 107, 223); — Tailwind CSS: bg-[hsl(222,72%,55%)] — CSS variable: --color-primary: hsl(222, 72%, 55%);