HSL(239, 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(239,90%,46%)]

Color Conversions

Format Value CSS Usage
HSL hsl(239, 90%, 46%) color: hsl(239, 90%, 46%)
HEX #0C0FDF color: #0C0FDF
RGB rgb(12, 15, 223) color: rgb(12, 15, 223)
CMYK cmyk(95%, 93%, 0%, 13%)
HSV hsv(239, 95%, 87%)
HWB hwb(239 4% 13%) color: hwb(239 4% 13%)
OKLCH oklch(0.4166 0.2773 265.18) color: oklch(0.4166 0.2773 265.18)
Lab lab(28.76 68.82 -95.59) color: lab(28.76 68.82 -95.59)
LCH lch(28.76 117.79 305.75) color: lch(28.76 117.79 305.75)

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.77:1
vs Black 2.15: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)

#0D0DAD — rgb(13, 13, 173)

Deuteranopia (Green-blind)

#0D0DA1 — rgb(13, 13, 161)

Tritanopia (Blue-blind)

#0C857C — rgb(12, 133, 124)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #0C0FDF;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(239, 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(239, 90%, 46%)?

HEX: #0C0FDF | RGB: rgb(12, 15, 223) | CMYK: 95%, 93%, 0%, 13% | HSV: 239°, 95%, 87%. Copy any format from the conversion table above.

What colors go well with #0C0FDF?

The complementary color is HSL(59, 90%, 46%). For a triadic harmony, use hues 239°, 359°, and 119°. For analogous combinations, try hues 209° and 269°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(239, 90%, 46%); — As HEX: color: #0C0FDF; — As RGB: color: rgb(12, 15, 223); — Tailwind CSS: bg-[hsl(239,90%,46%)] — CSS variable: --color-primary: hsl(239, 90%, 46%);