HSL(245, 32%, 38%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(245,32%,38%)]

Color Conversions

Format Value CSS Usage
HSL hsl(245, 32%, 38%) color: hsl(245, 32%, 38%)
HEX #474280 color: #474280
RGB rgb(71, 66, 128) color: rgb(71, 66, 128)
CMYK cmyk(45%, 48%, 0%, 50%)
HSV hsv(245, 48%, 50%)
HWB hwb(245 26% 50%) color: hwb(245 26% 50%)
OKLCH oklch(0.4156 0.1009 284.77) color: oklch(0.4156 0.1009 284.77)
Lab lab(31.33 19.06 -34.46) color: lab(31.33 19.06 -34.46)
LCH lch(31.33 39.38 298.95) color: lch(31.33 39.38 298.95)

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 8.9:1
vs Black 2.36: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)

#454571 — rgb(69, 69, 113)

Deuteranopia (Green-blind)

#45466D — rgb(69, 70, 109)

Tritanopia (Blue-blind)

#476563 — rgb(71, 101, 99)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(245, 32%, 38%);

text

color: hsl(245, 32%, 38%);

border

border: 2px solid hsl(245, 32%, 38%);

gradient light

background: linear-gradient(to right, hsl(245, 32%, 58%), hsl(245, 32%, 38%));

gradient dark

background: linear-gradient(to right, hsl(245, 32%, 38%), hsl(245, 32%, 18%))

hex

background-color: #474280;

tailwind

bg-[hsl(245,32%,38%)]

box shadow

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

css variable

--color-primary: hsl(245, 32%, 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(245, 32%, 38%)?

HEX: #474280 | RGB: rgb(71, 66, 128) | CMYK: 45%, 48%, 0%, 50% | HSV: 245°, 48%, 50%. Copy any format from the conversion table above.

What colors go well with #474280?

The complementary color is HSL(65, 32%, 38%). For a triadic harmony, use hues 245°, 5°, and 125°. For analogous combinations, try hues 215° and 275°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(245, 32%, 38%) in CSS?

As HSL: color: hsl(245, 32%, 38%); — As HEX: color: #474280; — As RGB: color: rgb(71, 66, 128); — Tailwind CSS: bg-[hsl(245,32%,38%)] — CSS variable: --color-primary: hsl(245, 32%, 38%);