HSL(253, 46%, 40%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(253,46%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(253, 46%, 40%) color: hsl(253, 46%, 40%)
HEX #4B3795 color: #4B3795
RGB rgb(75, 55, 149) color: rgb(75, 55, 149)
CMYK cmyk(50%, 63%, 0%, 42%)
HSV hsv(253, 63%, 58%)
HWB hwb(253 21% 42%) color: hwb(253 21% 42%)
OKLCH oklch(0.4142 0.1472 288) color: oklch(0.4142 0.1472 288)
Lab lab(30.39 33.61 -48.91) color: lab(30.39 33.61 -48.91)
LCH lch(30.39 59.34 304.5) color: lch(30.39 59.34 304.5)

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 9.21:1
vs Black 2.28: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)

#42427E — rgb(66, 66, 126)

Deuteranopia (Green-blind)

#444579 — rgb(68, 69, 121)

Tritanopia (Blue-blind)

#4A6C68 — rgb(74, 108, 104)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(253, 46%, 40%);

text

color: hsl(253, 46%, 40%);

border

border: 2px solid hsl(253, 46%, 40%);

gradient light

background: linear-gradient(to right, hsl(253, 46%, 60%), hsl(253, 46%, 40%));

gradient dark

background: linear-gradient(to right, hsl(253, 46%, 40%), hsl(253, 46%, 20%))

hex

background-color: #4B3795;

tailwind

bg-[hsl(253,46%,40%)]

box shadow

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

css variable

--color-primary: hsl(253, 46%, 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(253, 46%, 40%)?

HEX: #4B3795 | RGB: rgb(75, 55, 149) | CMYK: 50%, 63%, 0%, 42% | HSV: 253°, 63%, 58%. Copy any format from the conversion table above.

What colors go well with #4B3795?

The complementary color is HSL(73, 46%, 40%). For a triadic harmony, use hues 253°, 13°, and 133°. For analogous combinations, try hues 223° and 283°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(253, 46%, 40%) in CSS?

As HSL: color: hsl(253, 46%, 40%); — As HEX: color: #4B3795; — As RGB: color: rgb(75, 55, 149); — Tailwind CSS: bg-[hsl(253,46%,40%)] — CSS variable: --color-primary: hsl(253, 46%, 40%);