HSL(250, 70%, 42%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(250,70%,42%)]

Color Conversions

Format Value CSS Usage
HSL hsl(250, 70%, 42%) color: hsl(250, 70%, 42%)
HEX #3920B6 color: #3920B6
RGB rgb(57, 32, 182) color: rgb(57, 32, 182)
CMYK cmyk(69%, 82%, 0%, 29%)
HSV hsv(250, 82%, 71%)
HWB hwb(250 13% 29%) color: hwb(250 13% 29%)
OKLCH oklch(0.3992 0.2147 277.98) color: oklch(0.3992 0.2147 277.98)
Lab lab(27.52 53.44 -73.62) color: lab(27.52 53.44 -73.62)
LCH lch(27.52 90.97 305.98) color: lch(27.52 90.97 305.98)

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

#2E2E92 — rgb(46, 46, 146)

Deuteranopia (Green-blind)

#303289 — rgb(48, 50, 137)

Tritanopia (Blue-blind)

#38756F — rgb(56, 117, 111)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(250, 70%, 42%);

text

color: hsl(250, 70%, 42%);

border

border: 2px solid hsl(250, 70%, 42%);

gradient light

background: linear-gradient(to right, hsl(250, 70%, 62%), hsl(250, 70%, 42%));

gradient dark

background: linear-gradient(to right, hsl(250, 70%, 42%), hsl(250, 70%, 22%))

hex

background-color: #3920B6;

tailwind

bg-[hsl(250,70%,42%)]

box shadow

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

css variable

--color-primary: hsl(250, 70%, 42%);

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(250, 70%, 42%)?

HEX: #3920B6 | RGB: rgb(57, 32, 182) | CMYK: 69%, 82%, 0%, 29% | HSV: 250°, 82%, 71%. Copy any format from the conversion table above.

What colors go well with #3920B6?

The complementary color is HSL(70, 70%, 42%). For a triadic harmony, use hues 250°, 10°, and 130°. For analogous combinations, try hues 220° and 280°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(250, 70%, 42%) in CSS?

As HSL: color: hsl(250, 70%, 42%); — As HEX: color: #3920B6; — As RGB: color: rgb(57, 32, 182); — Tailwind CSS: bg-[hsl(250,70%,42%)] — CSS variable: --color-primary: hsl(250, 70%, 42%);