HSL(220, 80%, 48%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(220,80%,48%)]

Color Conversions

Format Value CSS Usage
HSL hsl(220, 80%, 48%) color: hsl(220, 80%, 48%)
HEX #185ADC color: #185ADC
RGB rgb(24, 90, 220) color: rgb(24, 90, 220)
CMYK cmyk(89%, 59%, 0%, 14%)
HSV hsv(220, 89%, 86%)
HWB hwb(220 9% 14%) color: hwb(220 9% 14%)
OKLCH oklch(0.5131 0.2091 262.04) color: oklch(0.5131 0.2091 262.04)
Lab lab(42.26 30.28 -71.54) color: lab(42.26 30.28 -71.54)
LCH lch(42.26 77.68 292.94) color: lch(42.26 77.68 292.94)

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 5.94:1
vs Black 3.53: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)

#3535BD — rgb(53, 53, 189)

Deuteranopia (Green-blind)

#312CB5 — rgb(49, 44, 181)

Tritanopia (Blue-blind)

#1BA49E — rgb(27, 164, 158)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(220, 80%, 48%);

text

color: hsl(220, 80%, 48%);

border

border: 2px solid hsl(220, 80%, 48%);

gradient light

background: linear-gradient(to right, hsl(220, 80%, 68%), hsl(220, 80%, 48%));

gradient dark

background: linear-gradient(to right, hsl(220, 80%, 48%), hsl(220, 80%, 28%))

hex

background-color: #185ADC;

tailwind

bg-[hsl(220,80%,48%)]

box shadow

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

css variable

--color-primary: hsl(220, 80%, 48%);

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(220, 80%, 48%)?

HEX: #185ADC | RGB: rgb(24, 90, 220) | CMYK: 89%, 59%, 0%, 14% | HSV: 220°, 89%, 86%. Copy any format from the conversion table above.

What colors go well with #185ADC?

The complementary color is HSL(40, 80%, 48%). For a triadic harmony, use hues 220°, 340°, and 100°. For analogous combinations, try hues 190° and 250°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(220, 80%, 48%) in CSS?

As HSL: color: hsl(220, 80%, 48%); — As HEX: color: #185ADC; — As RGB: color: rgb(24, 90, 220); — Tailwind CSS: bg-[hsl(220,80%,48%)] — CSS variable: --color-primary: hsl(220, 80%, 48%);