HSL(245, 50%, 49%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(245,50%,49%)]

Color Conversions

Format Value CSS Usage
HSL hsl(245, 50%, 49%) color: hsl(245, 50%, 49%)
HEX #493EBB color: #493EBB
RGB rgb(73, 62, 187) color: rgb(73, 62, 187)
CMYK cmyk(61%, 67%, 0%, 27%)
HSV hsv(245, 67%, 73%)
HWB hwb(245 24% 27%) color: hwb(245 24% 27%)
OKLCH oklch(0.4561 0.1882 279.82) color: oklch(0.4561 0.1882 279.82)
Lab lab(34.9 41.07 -64.38) color: lab(34.9 41.07 -64.38)
LCH lch(34.9 76.36 302.54) color: lch(34.9 76.36 302.54)

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.81: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)

#44449D — rgb(68, 68, 157)

Deuteranopia (Green-blind)

#454696 — rgb(69, 70, 150)

Tritanopia (Blue-blind)

#488580 — rgb(72, 133, 128)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(245, 50%, 49%);

text

color: hsl(245, 50%, 49%);

border

border: 2px solid hsl(245, 50%, 49%);

gradient light

background: linear-gradient(to right, hsl(245, 50%, 69%), hsl(245, 50%, 49%));

gradient dark

background: linear-gradient(to right, hsl(245, 50%, 49%), hsl(245, 50%, 29%))

hex

background-color: #493EBB;

tailwind

bg-[hsl(245,50%,49%)]

box shadow

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

css variable

--color-primary: hsl(245, 50%, 49%);

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

HEX: #493EBB | RGB: rgb(73, 62, 187) | CMYK: 61%, 67%, 0%, 27% | HSV: 245°, 67%, 73%. Copy any format from the conversion table above.

What colors go well with #493EBB?

The complementary color is HSL(65, 50%, 49%). 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, 50%, 49%) in CSS?

As HSL: color: hsl(245, 50%, 49%); — As HEX: color: #493EBB; — As RGB: color: rgb(73, 62, 187); — Tailwind CSS: bg-[hsl(245,50%,49%)] — CSS variable: --color-primary: hsl(245, 50%, 49%);