HSL(220, 40%, 72%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(220, 40%, 72%) color: hsl(220, 40%, 72%)
HEX #9BAED4 color: #9BAED4
RGB rgb(155, 174, 212) color: rgb(155, 174, 212)
CMYK cmyk(27%, 18%, 0%, 17%)
HSV hsv(220, 27%, 83%)
HWB hwb(220 61% 17%) color: hwb(220 61% 17%)
OKLCH oklch(0.7494 0.059 264.13) color: oklch(0.7494 0.059 264.13)
Lab lab(70.87 1.93 -21.39) color: lab(70.87 1.93 -21.39)
LCH lch(70.87 21.48 275.16) color: lch(70.87 21.48 275.16)

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 2.23:1
vs Black 9.4:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#A3A3CB — rgb(163, 163, 203)

Deuteranopia (Green-blind)

#A2A1C9 — rgb(162, 161, 201)

Tritanopia (Blue-blind)

#9CC4C2 — rgb(156, 196, 194)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(220, 40%, 92%), hsl(220, 40%, 72%));

gradient dark

background: linear-gradient(to right, hsl(220, 40%, 72%), hsl(220, 40%, 52%))

hex

background-color: #9BAED4;

tailwind

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

box shadow

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

css variable

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

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

HEX: #9BAED4 | RGB: rgb(155, 174, 212) | CMYK: 27%, 18%, 0%, 17% | HSV: 220°, 27%, 83%. Copy any format from the conversion table above.

What colors go well with #9BAED4?

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

As HSL: color: hsl(220, 40%, 72%); — As HEX: color: #9BAED4; — As RGB: color: rgb(155, 174, 212); — Tailwind CSS: bg-[hsl(220,40%,72%)] — CSS variable: --color-primary: hsl(220, 40%, 72%);