HSL(217, 30%, 35%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(217,30%,35%)]

Color Conversions

Format Value CSS Usage
HSL hsl(217, 30%, 35%) color: hsl(217, 30%, 35%)
HEX #3E5374 color: #3E5374
RGB rgb(62, 83, 116) color: rgb(62, 83, 116)
CMYK cmyk(47%, 28%, 0%, 55%)
HSV hsv(217, 47%, 45%)
HWB hwb(217 24% 55%) color: hwb(217 24% 55%)
OKLCH oklch(0.4395 0.0607 259.22) color: oklch(0.4395 0.0607 259.22)
Lab lab(34.95 1.62 -21.36) color: lab(34.95 1.62 -21.36)
LCH lch(34.95 21.42 274.34) color: lch(34.95 21.42 274.34)

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.79:1
vs Black 2.69: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)

#47476C — rgb(71, 71, 108)

Deuteranopia (Green-blind)

#46446A — rgb(70, 68, 106)

Tritanopia (Blue-blind)

#3F6664 — rgb(63, 102, 100)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(217, 30%, 35%);

text

color: hsl(217, 30%, 35%);

border

border: 2px solid hsl(217, 30%, 35%);

gradient light

background: linear-gradient(to right, hsl(217, 30%, 55%), hsl(217, 30%, 35%));

gradient dark

background: linear-gradient(to right, hsl(217, 30%, 35%), hsl(217, 30%, 15%))

hex

background-color: #3E5374;

tailwind

bg-[hsl(217,30%,35%)]

box shadow

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

css variable

--color-primary: hsl(217, 30%, 35%);

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

HEX: #3E5374 | RGB: rgb(62, 83, 116) | CMYK: 47%, 28%, 0%, 55% | HSV: 217°, 47%, 45%. Copy any format from the conversion table above.

What colors go well with #3E5374?

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

As HSL: color: hsl(217, 30%, 35%); — As HEX: color: #3E5374; — As RGB: color: rgb(62, 83, 116); — Tailwind CSS: bg-[hsl(217,30%,35%)] — CSS variable: --color-primary: hsl(217, 30%, 35%);