HSL(231, 85%, 52%)

Vivid Blue — Blue color

Adjust Color

Color Information

Color Name

Vivid Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(231,85%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(231, 85%, 52%) color: hsl(231, 85%, 52%)
HEX #1D3CED color: #1D3CED
RGB rgb(29, 60, 237) color: rgb(29, 60, 237)
CMYK cmyk(88%, 75%, 0%, 7%)
HSV hsv(231, 88%, 93%)
HWB hwb(231 11% 7%) color: hwb(231 11% 7%)
OKLCH oklch(0.4807 0.2606 266.19) color: oklch(0.4807 0.2606 266.19)
Lab lab(37.12 54.94 -89.66) color: lab(37.12 54.94 -89.66)
LCH lch(37.12 105.15 301.5) color: lch(37.12 105.15 301.5)

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.19:1
vs Black 2.92: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)

#2A2BC2 — rgb(42, 43, 194)

Deuteranopia (Green-blind)

#2926B8 — rgb(41, 38, 184)

Tritanopia (Blue-blind)

#1FA099 — rgb(31, 160, 153)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(231, 85%, 52%);

text

color: hsl(231, 85%, 52%);

border

border: 2px solid hsl(231, 85%, 52%);

gradient light

background: linear-gradient(to right, hsl(231, 85%, 72%), hsl(231, 85%, 52%));

gradient dark

background: linear-gradient(to right, hsl(231, 85%, 52%), hsl(231, 85%, 32%))

hex

background-color: #1D3CED;

tailwind

bg-[hsl(231,85%,52%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(231, 85%, 52%, 0.4);

css variable

--color-primary: hsl(231, 85%, 52%);

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(231, 85%, 52%)?

HEX: #1D3CED | RGB: rgb(29, 60, 237) | CMYK: 88%, 75%, 0%, 7% | HSV: 231°, 88%, 93%. Copy any format from the conversion table above.

What colors go well with #1D3CED?

The complementary color is HSL(51, 85%, 52%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(231, 85%, 52%) in CSS?

As HSL: color: hsl(231, 85%, 52%); — As HEX: color: #1D3CED; — As RGB: color: rgb(29, 60, 237); — Tailwind CSS: bg-[hsl(231,85%,52%)] — CSS variable: --color-primary: hsl(231, 85%, 52%);