HSL(236, 77%, 77%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(236,77%,77%)]

Color Conversions

Format Value CSS Usage
HSL hsl(236, 77%, 77%) color: hsl(236, 77%, 77%)
HEX #979DF2 color: #979DF2
RGB rgb(151, 157, 242) color: rgb(151, 157, 242)
CMYK cmyk(38%, 35%, 0%, 5%)
HSV hsv(236, 38%, 95%)
HWB hwb(236 59% 5%) color: hwb(236 59% 5%)
OKLCH oklch(0.7254 0.123 279.77) color: oklch(0.7254 0.123 279.77)
Lab lab(67.35 18.02 -43.28) color: lab(67.35 18.02 -43.28)
LCH lch(67.35 46.88 292.6) color: lch(67.35 46.88 292.6)

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.49:1
vs Black 8.42: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)

#9A9ADD — rgb(154, 154, 221)

Deuteranopia (Green-blind)

#9999D9 — rgb(153, 153, 217)

Tritanopia (Blue-blind)

#97CDCA — rgb(151, 205, 202)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(236, 77%, 77%);

text

color: hsl(236, 77%, 77%);

border

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

gradient light

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

gradient dark

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

hex

background-color: #979DF2;

tailwind

bg-[hsl(236,77%,77%)]

box shadow

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

css variable

--color-primary: hsl(236, 77%, 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(236, 77%, 77%)?

HEX: #979DF2 | RGB: rgb(151, 157, 242) | CMYK: 38%, 35%, 0%, 5% | HSV: 236°, 38%, 95%. Copy any format from the conversion table above.

What colors go well with #979DF2?

The complementary color is HSL(56, 77%, 77%). For a triadic harmony, use hues 236°, 356°, and 116°. For analogous combinations, try hues 206° and 266°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(236, 77%, 77%) in CSS?

As HSL: color: hsl(236, 77%, 77%); — As HEX: color: #979DF2; — As RGB: color: rgb(151, 157, 242); — Tailwind CSS: bg-[hsl(236,77%,77%)] — CSS variable: --color-primary: hsl(236, 77%, 77%);