HSL(217, 30%, 38%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(217, 30%, 38%) color: hsl(217, 30%, 38%)
HEX #445A7E color: #445A7E
RGB rgb(68, 90, 126) color: rgb(68, 90, 126)
CMYK cmyk(46%, 29%, 0%, 51%)
HSV hsv(217, 46%, 49%)
HWB hwb(217 26% 51%) color: hwb(217 26% 51%)
OKLCH oklch(0.4654 0.0648 260) color: oklch(0.4654 0.0648 260)
Lab lab(37.93 2.05 -22.86) color: lab(37.93 2.05 -22.86)
LCH lch(37.93 22.95 275.12) color: lch(37.93 22.95 275.12)

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.98:1
vs Black 3.01: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)

#4E4E75 — rgb(78, 78, 117)

Deuteranopia (Green-blind)

#4C4B73 — rgb(76, 75, 115)

Tritanopia (Blue-blind)

#456E6D — rgb(69, 110, 109)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(217, 30%, 58%), hsl(217, 30%, 38%));

gradient dark

background: linear-gradient(to right, hsl(217, 30%, 38%), hsl(217, 30%, 18%))

hex

background-color: #445A7E;

tailwind

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

box shadow

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

css variable

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

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

HEX: #445A7E | RGB: rgb(68, 90, 126) | CMYK: 46%, 29%, 0%, 51% | HSV: 217°, 46%, 49%. Copy any format from the conversion table above.

What colors go well with #445A7E?

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

As HSL: color: hsl(217, 30%, 38%); — As HEX: color: #445A7E; — As RGB: color: rgb(68, 90, 126); — Tailwind CSS: bg-[hsl(217,30%,38%)] — CSS variable: --color-primary: hsl(217, 30%, 38%);