HSL(250, 100%, 61%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(250,100%,61%)]

Color Conversions

Format Value CSS Usage
HSL hsl(250, 100%, 61%) color: hsl(250, 100%, 61%)
HEX #5938FF color: #5938FF
RGB rgb(89, 56, 255) color: rgb(89, 56, 255)
CMYK cmyk(65%, 78%, 0%, 0%)
HSV hsv(250, 78%, 100%)
HWB hwb(250 22% 0%) color: hwb(250 22% 0%)
OKLCH oklch(0.5252 0.2705 279.15) color: oklch(0.5252 0.2705 279.15)
Lab lab(41.49 66.39 -92.46) color: lab(41.49 66.39 -92.46)
LCH lch(41.49 113.83 305.68) color: lch(41.49 113.83 305.68)

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

#4B4ACF — rgb(75, 74, 207)

Deuteranopia (Green-blind)

#4D4FC3 — rgb(77, 79, 195)

Tritanopia (Blue-blind)

#57A9A0 — rgb(87, 169, 160)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(250, 100%, 61%);

text

color: hsl(250, 100%, 61%);

border

border: 2px solid hsl(250, 100%, 61%);

gradient light

background: linear-gradient(to right, hsl(250, 100%, 81%), hsl(250, 100%, 61%));

gradient dark

background: linear-gradient(to right, hsl(250, 100%, 61%), hsl(250, 100%, 41%))

hex

background-color: #5938FF;

tailwind

bg-[hsl(250,100%,61%)]

box shadow

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

css variable

--color-primary: hsl(250, 100%, 61%);

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, 100%, 61%)?

HEX: #5938FF | RGB: rgb(89, 56, 255) | CMYK: 65%, 78%, 0%, 0% | HSV: 250°, 78%, 100%. Copy any format from the conversion table above.

What colors go well with #5938FF?

The complementary color is HSL(70, 100%, 61%). 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, 100%, 61%) in CSS?

As HSL: color: hsl(250, 100%, 61%); — As HEX: color: #5938FF; — As RGB: color: rgb(89, 56, 255); — Tailwind CSS: bg-[hsl(250,100%,61%)] — CSS variable: --color-primary: hsl(250, 100%, 61%);