HSL(248, 90%, 46%)

Vivid Blue — Blue color

Adjust Color

Color Information

Color Name

Vivid Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(248,90%,46%)]

Color Conversions

Format Value CSS Usage
HSL hsl(248, 90%, 46%) color: hsl(248, 90%, 46%)
HEX #280CDF color: #280CDF
RGB rgb(40, 12, 223) color: rgb(40, 12, 223)
CMYK cmyk(82%, 95%, 0%, 13%)
HSV hsv(248, 95%, 87%)
HWB hwb(248 4% 13%) color: hwb(248 4% 13%)
OKLCH oklch(0.4243 0.2724 269.79) color: oklch(0.4243 0.2724 269.79)
Lab lab(29.51 69.89 -94.31) color: lab(29.51 69.89 -94.31)
LCH lch(29.51 117.38 306.54) color: lch(29.51 117.38 306.54)

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 9.51:1
vs Black 2.21: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)

#1C1CAC — rgb(28, 28, 172)

Deuteranopia (Green-blind)

#1E20A0 — rgb(30, 32, 160)

Tritanopia (Blue-blind)

#27847B — rgb(39, 132, 123)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(248, 90%, 46%);

text

color: hsl(248, 90%, 46%);

border

border: 2px solid hsl(248, 90%, 46%);

gradient light

background: linear-gradient(to right, hsl(248, 90%, 66%), hsl(248, 90%, 46%));

gradient dark

background: linear-gradient(to right, hsl(248, 90%, 46%), hsl(248, 90%, 26%))

hex

background-color: #280CDF;

tailwind

bg-[hsl(248,90%,46%)]

box shadow

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

css variable

--color-primary: hsl(248, 90%, 46%);

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(248, 90%, 46%)?

HEX: #280CDF | RGB: rgb(40, 12, 223) | CMYK: 82%, 95%, 0%, 13% | HSV: 248°, 95%, 87%. Copy any format from the conversion table above.

What colors go well with #280CDF?

The complementary color is HSL(68, 90%, 46%). For a triadic harmony, use hues 248°, 8°, and 128°. For analogous combinations, try hues 218° and 278°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(248, 90%, 46%) in CSS?

As HSL: color: hsl(248, 90%, 46%); — As HEX: color: #280CDF; — As RGB: color: rgb(40, 12, 223); — Tailwind CSS: bg-[hsl(248,90%,46%)] — CSS variable: --color-primary: hsl(248, 90%, 46%);