HSL(245, 41%, 57%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(245,41%,57%)]

Color Conversions

Format Value CSS Usage
HSL hsl(245, 41%, 57%) color: hsl(245, 41%, 57%)
HEX #6C64BE color: #6C64BE
RGB rgb(108, 100, 190) color: rgb(108, 100, 190)
CMYK cmyk(43%, 47%, 0%, 25%)
HSV hsv(245, 47%, 75%)
HWB hwb(245 40% 25%) color: hwb(245 40% 25%)
OKLCH oklch(0.5534 0.1363 285.07) color: oklch(0.5534 0.1363 285.07)
Lab lab(47 26.01 -46.44) color: lab(47 26.01 -46.44)
LCH lch(47 53.23 299.25) color: lch(47 53.23 299.25)

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

#6968A8 — rgb(105, 104, 168)

Deuteranopia (Green-blind)

#696AA3 — rgb(105, 106, 163)

Tritanopia (Blue-blind)

#6C9793 — rgb(108, 151, 147)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(245, 41%, 57%);

text

color: hsl(245, 41%, 57%);

border

border: 2px solid hsl(245, 41%, 57%);

gradient light

background: linear-gradient(to right, hsl(245, 41%, 77%), hsl(245, 41%, 57%));

gradient dark

background: linear-gradient(to right, hsl(245, 41%, 57%), hsl(245, 41%, 37%))

hex

background-color: #6C64BE;

tailwind

bg-[hsl(245,41%,57%)]

box shadow

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

css variable

--color-primary: hsl(245, 41%, 57%);

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

HEX: #6C64BE | RGB: rgb(108, 100, 190) | CMYK: 43%, 47%, 0%, 25% | HSV: 245°, 47%, 75%. Copy any format from the conversion table above.

What colors go well with #6C64BE?

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

As HSL: color: hsl(245, 41%, 57%); — As HEX: color: #6C64BE; — As RGB: color: rgb(108, 100, 190); — Tailwind CSS: bg-[hsl(245,41%,57%)] — CSS variable: --color-primary: hsl(245, 41%, 57%);