HSL(230, 90%, 51%)

Vivid Blue — Blue color

Adjust Color

Color Information

Color Name

Vivid Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(230,90%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(230, 90%, 51%) color: hsl(230, 90%, 51%)
HEX #1237F3 color: #1237F3
RGB rgb(18, 55, 243) color: rgb(18, 55, 243)
CMYK cmyk(93%, 77%, 0%, 5%)
HSV hsv(230, 93%, 95%)
HWB hwb(230 7% 5%) color: hwb(230 7% 5%)
OKLCH oklch(0.4782 0.2733 265.17) color: oklch(0.4782 0.2733 265.17)
Lab lab(36.61 59.22 -93.91) color: lab(36.61 59.22 -93.91)
LCH lch(36.61 111.02 302.24) color: lch(36.61 111.02 302.24)

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.33:1
vs Black 2.87: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)

#2222C6 — rgb(34, 34, 198)

Deuteranopia (Green-blind)

#201DBB — rgb(32, 29, 187)

Tritanopia (Blue-blind)

#14A29A — rgb(20, 162, 154)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(230, 90%, 51%);

text

color: hsl(230, 90%, 51%);

border

border: 2px solid hsl(230, 90%, 51%);

gradient light

background: linear-gradient(to right, hsl(230, 90%, 71%), hsl(230, 90%, 51%));

gradient dark

background: linear-gradient(to right, hsl(230, 90%, 51%), hsl(230, 90%, 31%))

hex

background-color: #1237F3;

tailwind

bg-[hsl(230,90%,51%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(230, 90%, 51%, 0.4);

css variable

--color-primary: hsl(230, 90%, 51%);

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(230, 90%, 51%)?

HEX: #1237F3 | RGB: rgb(18, 55, 243) | CMYK: 93%, 77%, 0%, 5% | HSV: 230°, 93%, 95%. Copy any format from the conversion table above.

What colors go well with #1237F3?

The complementary color is HSL(50, 90%, 51%). For a triadic harmony, use hues 230°, 350°, and 110°. For analogous combinations, try hues 200° and 260°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(230, 90%, 51%) in CSS?

As HSL: color: hsl(230, 90%, 51%); — As HEX: color: #1237F3; — As RGB: color: rgb(18, 55, 243); — Tailwind CSS: bg-[hsl(230,90%,51%)] — CSS variable: --color-primary: hsl(230, 90%, 51%);