HSL(239, 95%, 84%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(239,95%,84%)]

Color Conversions

Format Value CSS Usage
HSL hsl(239, 95%, 84%) color: hsl(239, 95%, 84%)
HEX #AFB1FD color: #AFB1FD
RGB rgb(175, 177, 253) color: rgb(175, 177, 253)
CMYK cmyk(31%, 30%, 0%, 1%)
HSV hsv(238, 31%, 99%)
HWB hwb(238 68% 1%) color: hwb(238 68% 1%)
OKLCH oklch(0.7871 0.1076 282.47) color: oklch(0.7871 0.1076 282.47)
Lab lab(74.6 16.11 -37.81) color: lab(74.6 16.11 -37.81)
LCH lch(74.6 41.1 293.08) color: lch(74.6 41.1 293.08)

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 1.99:1
vs Black 10.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)

#B0B0EB — rgb(176, 176, 235)

Deuteranopia (Green-blind)

#B0B0E6 — rgb(176, 176, 230)

Tritanopia (Blue-blind)

#AFDCD9 — rgb(175, 220, 217)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(239, 95%, 84%);

text

color: hsl(239, 95%, 84%);

border

border: 2px solid hsl(239, 95%, 84%);

gradient light

background: linear-gradient(to right, hsl(239, 95%, 100%), hsl(239, 95%, 84%));

gradient dark

background: linear-gradient(to right, hsl(239, 95%, 84%), hsl(239, 95%, 64%))

hex

background-color: #AFB1FD;

tailwind

bg-[hsl(239,95%,84%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(239, 95%, 84%, 0.4);

css variable

--color-primary: hsl(239, 95%, 84%);

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(239, 95%, 84%)?

HEX: #AFB1FD | RGB: rgb(175, 177, 253) | CMYK: 31%, 30%, 0%, 1% | HSV: 238°, 31%, 99%. Copy any format from the conversion table above.

What colors go well with #AFB1FD?

The complementary color is HSL(59, 95%, 84%). For a triadic harmony, use hues 239°, 359°, and 119°. For analogous combinations, try hues 209° and 269°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(239, 95%, 84%) in CSS?

As HSL: color: hsl(239, 95%, 84%); — As HEX: color: #AFB1FD; — As RGB: color: rgb(175, 177, 253); — Tailwind CSS: bg-[hsl(239,95%,84%)] — CSS variable: --color-primary: hsl(239, 95%, 84%);