HSL(251, 33%, 52%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(251,33%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(251, 33%, 52%) color: hsl(251, 33%, 52%)
HEX #6B5CAD color: #6B5CAD
RGB rgb(107, 92, 173) color: rgb(107, 92, 173)
CMYK cmyk(38%, 47%, 0%, 32%)
HSV hsv(251, 47%, 68%)
HWB hwb(251 36% 32%) color: hwb(251 36% 32%)
OKLCH oklch(0.527 0.1243 289.97) color: oklch(0.527 0.1243 289.97)
Lab lab(43.94 25.71 -41.4) color: lab(43.94 25.71 -41.4)
LCH lch(43.94 48.73 301.84) color: lch(43.94 48.73 301.84)

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.59:1
vs Black 3.76: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)

#656499 — rgb(101, 100, 153)

Deuteranopia (Green-blind)

#656795 — rgb(101, 103, 149)

Tritanopia (Blue-blind)

#6A8A87 — rgb(106, 138, 135)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(251, 33%, 52%);

text

color: hsl(251, 33%, 52%);

border

border: 2px solid hsl(251, 33%, 52%);

gradient light

background: linear-gradient(to right, hsl(251, 33%, 72%), hsl(251, 33%, 52%));

gradient dark

background: linear-gradient(to right, hsl(251, 33%, 52%), hsl(251, 33%, 32%))

hex

background-color: #6B5CAD;

tailwind

bg-[hsl(251,33%,52%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(251, 33%, 52%, 0.4);

css variable

--color-primary: hsl(251, 33%, 52%);

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(251, 33%, 52%)?

HEX: #6B5CAD | RGB: rgb(107, 92, 173) | CMYK: 38%, 47%, 0%, 32% | HSV: 251°, 47%, 68%. Copy any format from the conversion table above.

What colors go well with #6B5CAD?

The complementary color is HSL(71, 33%, 52%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(251, 33%, 52%) in CSS?

As HSL: color: hsl(251, 33%, 52%); — As HEX: color: #6B5CAD; — As RGB: color: rgb(107, 92, 173); — Tailwind CSS: bg-[hsl(251,33%,52%)] — CSS variable: --color-primary: hsl(251, 33%, 52%);