HSL(254, 90%, 50%)

Vivid Blue — Blue color

Adjust Color

Color Information

Color Name

Vivid Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(254,90%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(254, 90%, 50%) color: hsl(254, 90%, 50%)
HEX #420DF2 color: #420DF2
RGB rgb(66, 13, 242) color: rgb(66, 13, 242)
CMYK cmyk(73%, 95%, 0%, 5%)
HSV hsv(254, 95%, 95%)
HWB hwb(254 5% 5%) color: hwb(254 5% 5%)
OKLCH oklch(0.4633 0.2846 275.35) color: oklch(0.4633 0.2846 275.35)
Lab lab(33.68 75.17 -98.16) color: lab(33.68 75.17 -98.16)
LCH lch(33.68 123.64 307.44) color: lch(33.68 123.64 307.44)

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)

#2B2BBB — rgb(43, 43, 187)

Deuteranopia (Green-blind)

#2E32AD — rgb(46, 50, 173)

Tritanopia (Blue-blind)

#3F8F85 — rgb(63, 143, 133)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(254, 90%, 50%);

text

color: hsl(254, 90%, 50%);

border

border: 2px solid hsl(254, 90%, 50%);

gradient light

background: linear-gradient(to right, hsl(254, 90%, 70%), hsl(254, 90%, 50%));

gradient dark

background: linear-gradient(to right, hsl(254, 90%, 50%), hsl(254, 90%, 30%))

hex

background-color: #420DF2;

tailwind

bg-[hsl(254,90%,50%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(254, 90%, 50%, 0.4);

css variable

--color-primary: hsl(254, 90%, 50%);

Related Colors

Use Cases for Vivid Blue

Corporate branding Trust signals Tech products Social media Primary buttons

Frequently Asked Questions

What are all the color codes for HSL(254, 90%, 50%)?

HEX: #420DF2 | RGB: rgb(66, 13, 242) | CMYK: 73%, 95%, 0%, 5% | HSV: 254°, 95%, 95%. Copy any format from the conversion table above.

What colors go well with #420DF2?

The complementary color is HSL(74, 90%, 50%). For a triadic harmony, use hues 254°, 14°, and 134°. For analogous combinations, try hues 224° and 284°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(254, 90%, 50%) in CSS?

As HSL: color: hsl(254, 90%, 50%); — As HEX: color: #420DF2; — As RGB: color: rgb(66, 13, 242); — Tailwind CSS: bg-[hsl(254,90%,50%)] — CSS variable: --color-primary: hsl(254, 90%, 50%);