HSL(236, 100%, 56%)

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,100%,56%)]

Color Conversions

Format Value CSS Usage
HSL hsl(236, 100%, 56%) color: hsl(236, 100%, 56%)
HEX #1F2EFF color: #1F2EFF
RGB rgb(31, 46, 255) color: rgb(31, 46, 255)
CMYK cmyk(88%, 82%, 0%, 0%)
HSV hsv(236, 88%, 100%)
HWB hwb(236 12% 0%) color: hwb(236 12% 0%)
OKLCH oklch(0.4848 0.2908 266.69) color: oklch(0.4848 0.2908 266.69)
Lab lab(36.86 67.48 -100.23) color: lab(36.86 67.48 -100.23)
LCH lch(36.86 120.83 303.95) color: lch(36.86 120.83 303.95)

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.26:1
vs Black 2.89: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)

#2526CC — rgb(37, 38, 204)

Deuteranopia (Green-blind)

#2524C0 — rgb(37, 36, 192)

Tritanopia (Blue-blind)

#20A59C — rgb(32, 165, 156)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(236, 100%, 56%);

text

color: hsl(236, 100%, 56%);

border

border: 2px solid hsl(236, 100%, 56%);

gradient light

background: linear-gradient(to right, hsl(236, 100%, 76%), hsl(236, 100%, 56%));

gradient dark

background: linear-gradient(to right, hsl(236, 100%, 56%), hsl(236, 100%, 36%))

hex

background-color: #1F2EFF;

tailwind

bg-[hsl(236,100%,56%)]

box shadow

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

css variable

--color-primary: hsl(236, 100%, 56%);

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

HEX: #1F2EFF | RGB: rgb(31, 46, 255) | CMYK: 88%, 82%, 0%, 0% | HSV: 236°, 88%, 100%. Copy any format from the conversion table above.

What colors go well with #1F2EFF?

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

As HSL: color: hsl(236, 100%, 56%); — As HEX: color: #1F2EFF; — As RGB: color: rgb(31, 46, 255); — Tailwind CSS: bg-[hsl(236,100%,56%)] — CSS variable: --color-primary: hsl(236, 100%, 56%);