HSL(227, 77%, 77%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(227, 77%, 77%) color: hsl(227, 77%, 77%)
HEX #97ABF2 color: #97ABF2
RGB rgb(151, 171, 242) color: rgb(151, 171, 242)
CMYK cmyk(38%, 29%, 0%, 5%)
HSV hsv(227, 38%, 95%)
HWB hwb(227 59% 5%) color: hwb(227 59% 5%)
OKLCH oklch(0.7531 0.1051 271.64) color: oklch(0.7531 0.1051 271.64)
Lab lab(70.95 10.09 -37.67) color: lab(70.95 10.09 -37.67)
LCH lch(70.95 39 284.99) color: lch(70.95 39 284.99)

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.23:1
vs Black 9.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)

#A0A0E1 — rgb(160, 160, 225)

Deuteranopia (Green-blind)

#9F9DDD — rgb(159, 157, 221)

Tritanopia (Blue-blind)

#98D3D0 — rgb(152, 211, 208)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #97ABF2;

tailwind

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

box shadow

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

css variable

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

HEX: #97ABF2 | RGB: rgb(151, 171, 242) | CMYK: 38%, 29%, 0%, 5% | HSV: 227°, 38%, 95%. Copy any format from the conversion table above.

What colors go well with #97ABF2?

The complementary color is HSL(47, 77%, 77%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(227, 77%, 77%); — As HEX: color: #97ABF2; — As RGB: color: rgb(151, 171, 242); — Tailwind CSS: bg-[hsl(227,77%,77%)] — CSS variable: --color-primary: hsl(227, 77%, 77%);