HSL(239, 72%, 77%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(239,72%,77%)]

Color Conversions

Format Value CSS Usage
HSL hsl(239, 72%, 77%) color: hsl(239, 72%, 77%)
HEX #9A9CEF color: #9A9CEF
RGB rgb(154, 156, 239) color: rgb(154, 156, 239)
CMYK cmyk(36%, 35%, 0%, 6%)
HSV hsv(239, 36%, 94%)
HWB hwb(239 60% 6%) color: hwb(239 60% 6%)
OKLCH oklch(0.7242 0.1198 281.92) color: oklch(0.7242 0.1198 281.92)
Lab lab(67.19 18.59 -41.89) color: lab(67.19 18.59 -41.89)
LCH lch(67.19 45.83 293.93) color: lch(67.19 45.83 293.93)

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.51:1
vs Black 8.38: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)

#9B9BDB — rgb(155, 155, 219)

Deuteranopia (Green-blind)

#9B9BD6 — rgb(155, 155, 214)

Tritanopia (Blue-blind)

#9ACBC8 — rgb(154, 203, 200)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(239, 72%, 77%);

text

color: hsl(239, 72%, 77%);

border

border: 2px solid hsl(239, 72%, 77%);

gradient light

background: linear-gradient(to right, hsl(239, 72%, 97%), hsl(239, 72%, 77%));

gradient dark

background: linear-gradient(to right, hsl(239, 72%, 77%), hsl(239, 72%, 57%))

hex

background-color: #9A9CEF;

tailwind

bg-[hsl(239,72%,77%)]

box shadow

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

css variable

--color-primary: hsl(239, 72%, 77%);

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, 72%, 77%)?

HEX: #9A9CEF | RGB: rgb(154, 156, 239) | CMYK: 36%, 35%, 0%, 6% | HSV: 239°, 36%, 94%. Copy any format from the conversion table above.

What colors go well with #9A9CEF?

The complementary color is HSL(59, 72%, 77%). 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, 72%, 77%) in CSS?

As HSL: color: hsl(239, 72%, 77%); — As HEX: color: #9A9CEF; — As RGB: color: rgb(154, 156, 239); — Tailwind CSS: bg-[hsl(239,72%,77%)] — CSS variable: --color-primary: hsl(239, 72%, 77%);