HSL(226, 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(226,90%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(226, 90%, 51%) color: hsl(226, 90%, 51%)
HEX #1246F3 color: #1246F3
RGB rgb(18, 70, 243) color: rgb(18, 70, 243)
CMYK cmyk(93%, 71%, 0%, 5%)
HSV hsv(226, 93%, 95%)
HWB hwb(226 7% 5%) color: hwb(226 7% 5%)
OKLCH oklch(0.4992 0.2596 264.47) color: oklch(0.4992 0.2596 264.47)
Lab lab(39.54 50.94 -89.05) color: lab(39.54 50.94 -89.05)
LCH lch(39.54 102.59 299.77) color: lch(39.54 102.59 299.77)

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.57:1
vs Black 3.2: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)

#2929C9 — rgb(41, 41, 201)

Deuteranopia (Green-blind)

#2622BF — rgb(38, 34, 191)

Tritanopia (Blue-blind)

#15A8A1 — rgb(21, 168, 161)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #1246F3;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(226, 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(226, 90%, 51%)?

HEX: #1246F3 | RGB: rgb(18, 70, 243) | CMYK: 93%, 71%, 0%, 5% | HSV: 226°, 93%, 95%. Copy any format from the conversion table above.

What colors go well with #1246F3?

The complementary color is HSL(46, 90%, 51%). For a triadic harmony, use hues 226°, 346°, and 106°. For analogous combinations, try hues 196° and 256°. See the Color Harmony section above for complete palettes with previews.

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

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