HSL(246, 34%, 65%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(246,34%,65%)]

Color Conversions

Format Value CSS Usage
HSL hsl(246, 34%, 65%) color: hsl(246, 34%, 65%)
HEX #8D87C4 color: #8D87C4
RGB rgb(141, 135, 196) color: rgb(141, 135, 196)
CMYK cmyk(28%, 31%, 0%, 23%)
HSV hsv(246, 31%, 77%)
HWB hwb(246 53% 23%) color: hwb(246 53% 23%)
OKLCH oklch(0.6522 0.0901 288.13) color: oklch(0.6522 0.0901 288.13)
Lab lab(58.95 15.88 -30.88) color: lab(58.95 15.88 -30.88)
LCH lch(58.95 34.72 297.21) color: lch(58.95 34.72 297.21)

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 3.28:1
vs Black 6.4:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#8A8AB5 — rgb(138, 138, 181)

Deuteranopia (Green-blind)

#8B8BB2 — rgb(139, 139, 178)

Tritanopia (Blue-blind)

#8DAAA7 — rgb(141, 170, 167)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(246, 34%, 65%);

text

color: hsl(246, 34%, 65%);

border

border: 2px solid hsl(246, 34%, 65%);

gradient light

background: linear-gradient(to right, hsl(246, 34%, 85%), hsl(246, 34%, 65%));

gradient dark

background: linear-gradient(to right, hsl(246, 34%, 65%), hsl(246, 34%, 45%))

hex

background-color: #8D87C4;

tailwind

bg-[hsl(246,34%,65%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(246, 34%, 65%, 0.4);

css variable

--color-primary: hsl(246, 34%, 65%);

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(246, 34%, 65%)?

HEX: #8D87C4 | RGB: rgb(141, 135, 196) | CMYK: 28%, 31%, 0%, 23% | HSV: 246°, 31%, 77%. Copy any format from the conversion table above.

What colors go well with #8D87C4?

The complementary color is HSL(66, 34%, 65%). For a triadic harmony, use hues 246°, 6°, and 126°. For analogous combinations, try hues 216° and 276°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(246, 34%, 65%) in CSS?

As HSL: color: hsl(246, 34%, 65%); — As HEX: color: #8D87C4; — As RGB: color: rgb(141, 135, 196); — Tailwind CSS: bg-[hsl(246,34%,65%)] — CSS variable: --color-primary: hsl(246, 34%, 65%);