HSL(220, 40%, 49%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(220,40%,49%)]

Color Conversions

Format Value CSS Usage
HSL hsl(220, 40%, 49%) color: hsl(220, 40%, 49%)
HEX #4B6CAF color: #4B6CAF
RGB rgb(75, 108, 175) color: rgb(75, 108, 175)
CMYK cmyk(57%, 38%, 0%, 31%)
HSV hsv(220, 57%, 69%)
HWB hwb(220 30% 31%) color: hwb(220 30% 31%)
OKLCH oklch(0.5378 0.1123 263.27) color: oklch(0.5378 0.1123 263.27)
Lab lab(46.06 8.56 -39.35) color: lab(46.06 8.56 -39.35)
LCH lch(46.06 40.27 282.27) color: lch(46.06 40.27 282.27)

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.17:1
vs Black 4.06: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)

#595A9F — rgb(89, 90, 159)

Deuteranopia (Green-blind)

#57559B — rgb(87, 85, 155)

Tritanopia (Blue-blind)

#4D928F — rgb(77, 146, 143)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(220, 40%, 49%);

text

color: hsl(220, 40%, 49%);

border

border: 2px solid hsl(220, 40%, 49%);

gradient light

background: linear-gradient(to right, hsl(220, 40%, 69%), hsl(220, 40%, 49%));

gradient dark

background: linear-gradient(to right, hsl(220, 40%, 49%), hsl(220, 40%, 29%))

hex

background-color: #4B6CAF;

tailwind

bg-[hsl(220,40%,49%)]

box shadow

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

css variable

--color-primary: hsl(220, 40%, 49%);

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, 40%, 49%)?

HEX: #4B6CAF | RGB: rgb(75, 108, 175) | CMYK: 57%, 38%, 0%, 31% | HSV: 220°, 57%, 69%. Copy any format from the conversion table above.

What colors go well with #4B6CAF?

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

As HSL: color: hsl(220, 40%, 49%); — As HEX: color: #4B6CAF; — As RGB: color: rgb(75, 108, 175); — Tailwind CSS: bg-[hsl(220,40%,49%)] — CSS variable: --color-primary: hsl(220, 40%, 49%);