HSL(211, 72%, 40%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(211, 72%, 40%) color: hsl(211, 72%, 40%)
HEX #1D64AF color: #1D64AF
RGB rgb(29, 100, 175) color: rgb(29, 100, 175)
CMYK cmyk(83%, 43%, 0%, 31%)
HSV hsv(211, 83%, 69%)
HWB hwb(211 12% 31%) color: hwb(211 12% 31%)
OKLCH oklch(0.501 0.1374 253.5) color: oklch(0.501 0.1374 253.5)
Lab lab(41.95 6.49 -46) color: lab(41.95 6.49 -46)
LCH lch(41.95 46.46 278.03) color: lch(41.95 46.46 278.03)

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.01:1
vs Black 3.49: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)

#3C3C9D — rgb(60, 60, 157)

Deuteranopia (Green-blind)

#383299 — rgb(56, 50, 153)

Tritanopia (Blue-blind)

#218F8B — rgb(33, 143, 139)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(211, 72%, 60%), hsl(211, 72%, 40%));

gradient dark

background: linear-gradient(to right, hsl(211, 72%, 40%), hsl(211, 72%, 20%))

hex

background-color: #1D64AF;

tailwind

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

box shadow

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

css variable

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

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

HEX: #1D64AF | RGB: rgb(29, 100, 175) | CMYK: 83%, 43%, 0%, 31% | HSV: 211°, 83%, 69%. Copy any format from the conversion table above.

What colors go well with #1D64AF?

The complementary color is HSL(31, 72%, 40%). For a triadic harmony, use hues 211°, 331°, and 91°. For analogous combinations, try hues 181° and 241°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(211, 72%, 40%) in CSS?

As HSL: color: hsl(211, 72%, 40%); — As HEX: color: #1D64AF; — As RGB: color: rgb(29, 100, 175); — Tailwind CSS: bg-[hsl(211,72%,40%)] — CSS variable: --color-primary: hsl(211, 72%, 40%);