HSL(245, 50%, 58%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(245, 50%, 58%) color: hsl(245, 50%, 58%)
HEX #675EC9 color: #675EC9
RGB rgb(103, 94, 201) color: rgb(103, 94, 201)
CMYK cmyk(49%, 53%, 0%, 21%)
HSV hsv(245, 53%, 79%)
HWB hwb(245 37% 21%) color: hwb(245 37% 21%)
OKLCH oklch(0.5454 0.1606 283.5) color: oklch(0.5454 0.1606 283.5)
Lab lab(45.78 31.78 -54.77) color: lab(45.78 31.78 -54.77)
LCH lch(45.78 63.32 300.12) color: lch(45.78 63.32 300.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 5.22:1
vs Black 4.02: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)

#6363AF — rgb(99, 99, 175)

Deuteranopia (Green-blind)

#6464A9 — rgb(100, 100, 169)

Tritanopia (Blue-blind)

#679B96 — rgb(103, 155, 150)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(245, 50%, 78%), hsl(245, 50%, 58%));

gradient dark

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

hex

background-color: #675EC9;

tailwind

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

box shadow

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

css variable

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

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

HEX: #675EC9 | RGB: rgb(103, 94, 201) | CMYK: 49%, 53%, 0%, 21% | HSV: 245°, 53%, 79%. Copy any format from the conversion table above.

What colors go well with #675EC9?

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

As HSL: color: hsl(245, 50%, 58%); — As HEX: color: #675EC9; — As RGB: color: rgb(103, 94, 201); — Tailwind CSS: bg-[hsl(245,50%,58%)] — CSS variable: --color-primary: hsl(245, 50%, 58%);