HSL(198, 89%, 52%)

Vivid Blue — Blue color

Adjust Color

Color Information

Color Name

Vivid Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(198,89%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(198, 89%, 52%) color: hsl(198, 89%, 52%)
HEX #18B0F2 color: #18B0F2
RGB rgb(24, 176, 242) color: rgb(24, 176, 242)
CMYK cmyk(90%, 27%, 0%, 5%)
HSV hsv(198, 90%, 95%)
HWB hwb(198 10% 5%) color: hwb(198 10% 5%)
OKLCH oklch(0.7157 0.1481 235.28) color: oklch(0.7157 0.1481 235.28)
Lab lab(67.76 -13.49 -42.98) color: lab(67.76 -13.49 -42.98)
LCH lch(67.76 45.05 252.57) color: lch(67.76 45.05 252.57)

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 2.46:1
vs Black 8.53:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#5A5BE2 — rgb(90, 91, 226)

Deuteranopia (Green-blind)

#5146DE — rgb(81, 70, 222)

Tritanopia (Blue-blind)

#20D5D3 — rgb(32, 213, 211)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(198, 89%, 52%);

text

color: hsl(198, 89%, 52%);

border

border: 2px solid hsl(198, 89%, 52%);

gradient light

background: linear-gradient(to right, hsl(198, 89%, 72%), hsl(198, 89%, 52%));

gradient dark

background: linear-gradient(to right, hsl(198, 89%, 52%), hsl(198, 89%, 32%))

hex

background-color: #18B0F2;

tailwind

bg-[hsl(198,89%,52%)]

box shadow

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

css variable

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

HEX: #18B0F2 | RGB: rgb(24, 176, 242) | CMYK: 90%, 27%, 0%, 5% | HSV: 198°, 90%, 95%. Copy any format from the conversion table above.

What colors go well with #18B0F2?

The complementary color is HSL(18, 89%, 52%). For a triadic harmony, use hues 198°, 318°, and 78°. For analogous combinations, try hues 168° and 228°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(198, 89%, 52%) in CSS?

As HSL: color: hsl(198, 89%, 52%); — As HEX: color: #18B0F2; — As RGB: color: rgb(24, 176, 242); — Tailwind CSS: bg-[hsl(198,89%,52%)] — CSS variable: --color-primary: hsl(198, 89%, 52%);