HSL(236, 91%, 54%)

Vivid Blue — Blue color

Adjust Color

Color Information

Color Name

Vivid Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(236,91%,54%)]

Color Conversions

Format Value CSS Usage
HSL hsl(236, 91%, 54%) color: hsl(236, 91%, 54%)
HEX #1F2DF4 color: #1F2DF4
RGB rgb(31, 45, 244) color: rgb(31, 45, 244)
CMYK cmyk(87%, 82%, 0%, 4%)
HSV hsv(236, 87%, 96%)
HWB hwb(236 12% 4%) color: hwb(236 12% 4%)
OKLCH oklch(0.4709 0.2799 266.92) color: oklch(0.4709 0.2799 266.92)
Lab lab(35.4 64.68 -96.48) color: lab(35.4 64.68 -96.48)
LCH lch(35.4 116.15 303.84) color: lch(35.4 116.15 303.84)

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 7.66:1
vs Black 2.74: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)

#2525C4 — rgb(37, 37, 196)

Deuteranopia (Green-blind)

#2423B8 — rgb(36, 35, 184)

Tritanopia (Blue-blind)

#209E95 — rgb(32, 158, 149)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(236, 91%, 54%);

text

color: hsl(236, 91%, 54%);

border

border: 2px solid hsl(236, 91%, 54%);

gradient light

background: linear-gradient(to right, hsl(236, 91%, 74%), hsl(236, 91%, 54%));

gradient dark

background: linear-gradient(to right, hsl(236, 91%, 54%), hsl(236, 91%, 34%))

hex

background-color: #1F2DF4;

tailwind

bg-[hsl(236,91%,54%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(236, 91%, 54%, 0.4);

css variable

--color-primary: hsl(236, 91%, 54%);

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(236, 91%, 54%)?

HEX: #1F2DF4 | RGB: rgb(31, 45, 244) | CMYK: 87%, 82%, 0%, 4% | HSV: 236°, 87%, 96%. Copy any format from the conversion table above.

What colors go well with #1F2DF4?

The complementary color is HSL(56, 91%, 54%). For a triadic harmony, use hues 236°, 356°, and 116°. For analogous combinations, try hues 206° and 266°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(236, 91%, 54%) in CSS?

As HSL: color: hsl(236, 91%, 54%); — As HEX: color: #1F2DF4; — As RGB: color: rgb(31, 45, 244); — Tailwind CSS: bg-[hsl(236,91%,54%)] — CSS variable: --color-primary: hsl(236, 91%, 54%);