HSL(219, 70%, 42%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(219,70%,42%)]

Color Conversions

Format Value CSS Usage
HSL hsl(219, 70%, 42%) color: hsl(219, 70%, 42%)
HEX #2055B6 color: #2055B6
RGB rgb(32, 85, 182) color: rgb(32, 85, 182)
CMYK cmyk(82%, 53%, 0%, 29%)
HSV hsv(219, 82%, 71%)
HWB hwb(219 13% 29%) color: hwb(219 13% 29%)
OKLCH oklch(0.4735 0.164 261.24) color: oklch(0.4735 0.164 261.24)
Lab lab(38.16 19.34 -56.21) color: lab(38.16 19.34 -56.21)
LCH lch(38.16 59.44 288.99) color: lch(38.16 59.44 288.99)

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 6.92:1
vs Black 3.04: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)

#37379F — rgb(55, 55, 159)

Deuteranopia (Green-blind)

#343099 — rgb(52, 48, 153)

Tritanopia (Blue-blind)

#238C88 — rgb(35, 140, 136)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(219, 70%, 42%);

text

color: hsl(219, 70%, 42%);

border

border: 2px solid hsl(219, 70%, 42%);

gradient light

background: linear-gradient(to right, hsl(219, 70%, 62%), hsl(219, 70%, 42%));

gradient dark

background: linear-gradient(to right, hsl(219, 70%, 42%), hsl(219, 70%, 22%))

hex

background-color: #2055B6;

tailwind

bg-[hsl(219,70%,42%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(219, 70%, 42%, 0.4);

css variable

--color-primary: hsl(219, 70%, 42%);

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(219, 70%, 42%)?

HEX: #2055B6 | RGB: rgb(32, 85, 182) | CMYK: 82%, 53%, 0%, 29% | HSV: 219°, 82%, 71%. Copy any format from the conversion table above.

What colors go well with #2055B6?

The complementary color is HSL(39, 70%, 42%). For a triadic harmony, use hues 219°, 339°, and 99°. For analogous combinations, try hues 189° and 249°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(219, 70%, 42%) in CSS?

As HSL: color: hsl(219, 70%, 42%); — As HEX: color: #2055B6; — As RGB: color: rgb(32, 85, 182); — Tailwind CSS: bg-[hsl(219,70%,42%)] — CSS variable: --color-primary: hsl(219, 70%, 42%);