HSL(235, 85%, 47%)

Vivid Blue — Blue color

Adjust Color

Color Information

Color Name

Vivid Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(235,85%,47%)]

Color Conversions

Format Value CSS Usage
HSL hsl(235, 85%, 47%) color: hsl(235, 85%, 47%)
HEX #1223DE color: #1223DE
RGB rgb(18, 35, 222) color: rgb(18, 35, 222)
CMYK cmyk(92%, 84%, 0%, 13%)
HSV hsv(235, 92%, 87%)
HWB hwb(235 7% 13%) color: hwb(235 7% 13%)
OKLCH oklch(0.4311 0.2656 265.77) color: oklch(0.4311 0.2656 265.77)
Lab lab(30.88 62.16 -91.47) color: lab(30.88 62.16 -91.47)
LCH lch(30.88 110.59 304.2) color: lch(30.88 110.59 304.2)

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.05:1
vs Black 2.32: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)

#191AB1 — rgb(25, 26, 177)

Deuteranopia (Green-blind)

#1817A6 — rgb(24, 23, 166)

Tritanopia (Blue-blind)

#138D85 — rgb(19, 141, 133)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(235, 85%, 47%);

text

color: hsl(235, 85%, 47%);

border

border: 2px solid hsl(235, 85%, 47%);

gradient light

background: linear-gradient(to right, hsl(235, 85%, 67%), hsl(235, 85%, 47%));

gradient dark

background: linear-gradient(to right, hsl(235, 85%, 47%), hsl(235, 85%, 27%))

hex

background-color: #1223DE;

tailwind

bg-[hsl(235,85%,47%)]

box shadow

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

css variable

--color-primary: hsl(235, 85%, 47%);

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(235, 85%, 47%)?

HEX: #1223DE | RGB: rgb(18, 35, 222) | CMYK: 92%, 84%, 0%, 13% | HSV: 235°, 92%, 87%. Copy any format from the conversion table above.

What colors go well with #1223DE?

The complementary color is HSL(55, 85%, 47%). For a triadic harmony, use hues 235°, 355°, and 115°. For analogous combinations, try hues 205° and 265°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(235, 85%, 47%) in CSS?

As HSL: color: hsl(235, 85%, 47%); — As HEX: color: #1223DE; — As RGB: color: rgb(18, 35, 222); — Tailwind CSS: bg-[hsl(235,85%,47%)] — CSS variable: --color-primary: hsl(235, 85%, 47%);