HSL(247, 70%, 51%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(247,70%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(247, 70%, 51%) color: hsl(247, 70%, 51%)
HEX #3F2BDA color: #3F2BDA
RGB rgb(63, 43, 218) color: rgb(63, 43, 218)
CMYK cmyk(71%, 80%, 0%, 15%)
HSV hsv(247, 80%, 85%)
HWB hwb(247 17% 15%) color: hwb(247 17% 15%)
OKLCH oklch(0.4545 0.2454 275.52) color: oklch(0.4545 0.2454 275.52)
Lab lab(33.66 59.51 -84.5) color: lab(33.66 59.51 -84.5)
LCH lch(33.66 103.35 305.16) color: lch(33.66 103.35 305.16)

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

#3636B0 — rgb(54, 54, 176)

Deuteranopia (Green-blind)

#3839A6 — rgb(56, 57, 166)

Tritanopia (Blue-blind)

#3E8E87 — rgb(62, 142, 135)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(247, 70%, 51%);

text

color: hsl(247, 70%, 51%);

border

border: 2px solid hsl(247, 70%, 51%);

gradient light

background: linear-gradient(to right, hsl(247, 70%, 71%), hsl(247, 70%, 51%));

gradient dark

background: linear-gradient(to right, hsl(247, 70%, 51%), hsl(247, 70%, 31%))

hex

background-color: #3F2BDA;

tailwind

bg-[hsl(247,70%,51%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(247, 70%, 51%, 0.4);

css variable

--color-primary: hsl(247, 70%, 51%);

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(247, 70%, 51%)?

HEX: #3F2BDA | RGB: rgb(63, 43, 218) | CMYK: 71%, 80%, 0%, 15% | HSV: 247°, 80%, 85%. Copy any format from the conversion table above.

What colors go well with #3F2BDA?

The complementary color is HSL(67, 70%, 51%). For a triadic harmony, use hues 247°, 7°, and 127°. For analogous combinations, try hues 217° and 277°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(247, 70%, 51%) in CSS?

As HSL: color: hsl(247, 70%, 51%); — As HEX: color: #3F2BDA; — As RGB: color: rgb(63, 43, 218); — Tailwind CSS: bg-[hsl(247,70%,51%)] — CSS variable: --color-primary: hsl(247, 70%, 51%);