HSL(229, 89%, 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(229,89%,54%)]

Color Conversions

Format Value CSS Usage
HSL hsl(229, 89%, 54%) color: hsl(229, 89%, 54%)
HEX #2148F2 color: #2148F2
RGB rgb(33, 72, 242) color: rgb(33, 72, 242)
CMYK cmyk(86%, 70%, 0%, 5%)
HSV hsv(229, 86%, 95%)
HWB hwb(229 13% 5%) color: hwb(229 13% 5%)
OKLCH oklch(0.5045 0.2541 265.92) color: oklch(0.5045 0.2541 265.92)
Lab lab(40.19 49.98 -87.4) color: lab(40.19 49.98 -87.4)
LCH lch(40.19 100.68 299.76) color: lch(40.19 100.68 299.76)

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 6.41:1
vs Black 3.27:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#3232C9 — rgb(50, 50, 201)

Deuteranopia (Green-blind)

#302DBF — rgb(48, 45, 191)

Tritanopia (Blue-blind)

#23A8A1 — rgb(35, 168, 161)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(229, 89%, 54%);

text

color: hsl(229, 89%, 54%);

border

border: 2px solid hsl(229, 89%, 54%);

gradient light

background: linear-gradient(to right, hsl(229, 89%, 74%), hsl(229, 89%, 54%));

gradient dark

background: linear-gradient(to right, hsl(229, 89%, 54%), hsl(229, 89%, 34%))

hex

background-color: #2148F2;

tailwind

bg-[hsl(229,89%,54%)]

box shadow

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

css variable

--color-primary: hsl(229, 89%, 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(229, 89%, 54%)?

HEX: #2148F2 | RGB: rgb(33, 72, 242) | CMYK: 86%, 70%, 0%, 5% | HSV: 229°, 86%, 95%. Copy any format from the conversion table above.

What colors go well with #2148F2?

The complementary color is HSL(49, 89%, 54%). For a triadic harmony, use hues 229°, 349°, and 109°. For analogous combinations, try hues 199° and 259°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(229, 89%, 54%) in CSS?

As HSL: color: hsl(229, 89%, 54%); — As HEX: color: #2148F2; — As RGB: color: rgb(33, 72, 242); — Tailwind CSS: bg-[hsl(229,89%,54%)] — CSS variable: --color-primary: hsl(229, 89%, 54%);