HSL(217, 44%, 36%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(217,44%,36%)]

Color Conversions

Format Value CSS Usage
HSL hsl(217, 44%, 36%) color: hsl(217, 44%, 36%)
HEX #335284 color: #335284
RGB rgb(51, 82, 132) color: rgb(51, 82, 132)
CMYK cmyk(61%, 38%, 0%, 48%)
HSV hsv(217, 61%, 52%)
HWB hwb(217 20% 48%) color: hwb(217 20% 48%)
OKLCH oklch(0.4394 0.0908 259.56) color: oklch(0.4394 0.0908 259.56)
Lab lab(34.81 4.99 -31.5) color: lab(34.81 4.99 -31.5)
LCH lch(34.81 31.89 279) color: lch(34.81 31.89 279)

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 7.83:1
vs Black 2.68:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#404178 — rgb(64, 65, 120)

Deuteranopia (Green-blind)

#3F3C75 — rgb(63, 60, 117)

Tritanopia (Blue-blind)

#356E6C — rgb(53, 110, 108)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(217, 44%, 36%);

text

color: hsl(217, 44%, 36%);

border

border: 2px solid hsl(217, 44%, 36%);

gradient light

background: linear-gradient(to right, hsl(217, 44%, 56%), hsl(217, 44%, 36%));

gradient dark

background: linear-gradient(to right, hsl(217, 44%, 36%), hsl(217, 44%, 16%))

hex

background-color: #335284;

tailwind

bg-[hsl(217,44%,36%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(217, 44%, 36%, 0.4);

css variable

--color-primary: hsl(217, 44%, 36%);

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(217, 44%, 36%)?

HEX: #335284 | RGB: rgb(51, 82, 132) | CMYK: 61%, 38%, 0%, 48% | HSV: 217°, 61%, 52%. Copy any format from the conversion table above.

What colors go well with #335284?

The complementary color is HSL(37, 44%, 36%). For a triadic harmony, use hues 217°, 337°, and 97°. For analogous combinations, try hues 187° and 247°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(217, 44%, 36%) in CSS?

As HSL: color: hsl(217, 44%, 36%); — As HEX: color: #335284; — As RGB: color: rgb(51, 82, 132); — Tailwind CSS: bg-[hsl(217,44%,36%)] — CSS variable: --color-primary: hsl(217, 44%, 36%);