HSL(228, 99%, 78%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(228,99%,78%)]

Color Conversions

Format Value CSS Usage
HSL hsl(228, 99%, 78%) color: hsl(228, 99%, 78%)
HEX #8FA6FE color: #8FA6FE
RGB rgb(143, 166, 254) color: rgb(143, 166, 254)
CMYK cmyk(44%, 35%, 0%, 0%)
HSV hsv(228, 44%, 100%)
HWB hwb(228 56% 0%) color: hwb(228 56% 0%)
OKLCH oklch(0.7435 0.13 271.8) color: oklch(0.7435 0.13 271.8)
Lab lab(69.66 14.17 -46.24) color: lab(69.66 14.17 -46.24)
LCH lch(69.66 48.36 287.04) color: lch(69.66 48.36 287.04)

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.32:1
vs Black 9.05: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)

#9999E9 — rgb(153, 153, 233)

Deuteranopia (Green-blind)

#9896E4 — rgb(152, 150, 228)

Tritanopia (Blue-blind)

#90D8D4 — rgb(144, 216, 212)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(228, 99%, 78%);

text

color: hsl(228, 99%, 78%);

border

border: 2px solid hsl(228, 99%, 78%);

gradient light

background: linear-gradient(to right, hsl(228, 99%, 98%), hsl(228, 99%, 78%));

gradient dark

background: linear-gradient(to right, hsl(228, 99%, 78%), hsl(228, 99%, 58%))

hex

background-color: #8FA6FE;

tailwind

bg-[hsl(228,99%,78%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(228, 99%, 78%, 0.4);

css variable

--color-primary: hsl(228, 99%, 78%);

Related Colors

Use Cases for Blue

Corporate branding Trust signals Tech products Social media Primary buttons

Frequently Asked Questions

What are all the color codes for HSL(228, 99%, 78%)?

HEX: #8FA6FE | RGB: rgb(143, 166, 254) | CMYK: 44%, 35%, 0%, 0% | HSV: 228°, 44%, 100%. Copy any format from the conversion table above.

What colors go well with #8FA6FE?

The complementary color is HSL(48, 99%, 78%). For a triadic harmony, use hues 228°, 348°, and 108°. For analogous combinations, try hues 198° and 258°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(228, 99%, 78%) in CSS?

As HSL: color: hsl(228, 99%, 78%); — As HEX: color: #8FA6FE; — As RGB: color: rgb(143, 166, 254); — Tailwind CSS: bg-[hsl(228,99%,78%)] — CSS variable: --color-primary: hsl(228, 99%, 78%);