HSL(216, 43%, 65%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(216,43%,65%)]

Color Conversions

Format Value CSS Usage
HSL hsl(216, 43%, 65%) color: hsl(216, 43%, 65%)
HEX #7F9ECC color: #7F9ECC
RGB rgb(127, 158, 204) color: rgb(127, 158, 204)
CMYK cmyk(38%, 23%, 0%, 20%)
HSV hsv(216, 38%, 80%)
HWB hwb(216 50% 20%) color: hwb(216 50% 20%)
OKLCH oklch(0.6933 0.0765 258.1) color: oklch(0.6933 0.0765 258.1)
Lab lab(64.42 0.73 -26.99) color: lab(64.42 0.73 -26.99)
LCH lch(64.42 27 271.55) color: lch(64.42 27 271.55)

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.74:1
vs Black 7.67: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)

#8C8DC1 — rgb(140, 141, 193)

Deuteranopia (Green-blind)

#8B88BE — rgb(139, 136, 190)

Tritanopia (Blue-blind)

#81B8B6 — rgb(129, 184, 182)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(216, 43%, 65%);

text

color: hsl(216, 43%, 65%);

border

border: 2px solid hsl(216, 43%, 65%);

gradient light

background: linear-gradient(to right, hsl(216, 43%, 85%), hsl(216, 43%, 65%));

gradient dark

background: linear-gradient(to right, hsl(216, 43%, 65%), hsl(216, 43%, 45%))

hex

background-color: #7F9ECC;

tailwind

bg-[hsl(216,43%,65%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(216, 43%, 65%, 0.4);

css variable

--color-primary: hsl(216, 43%, 65%);

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(216, 43%, 65%)?

HEX: #7F9ECC | RGB: rgb(127, 158, 204) | CMYK: 38%, 23%, 0%, 20% | HSV: 216°, 38%, 80%. Copy any format from the conversion table above.

What colors go well with #7F9ECC?

The complementary color is HSL(36, 43%, 65%). For a triadic harmony, use hues 216°, 336°, and 96°. For analogous combinations, try hues 186° and 246°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(216, 43%, 65%) in CSS?

As HSL: color: hsl(216, 43%, 65%); — As HEX: color: #7F9ECC; — As RGB: color: rgb(127, 158, 204); — Tailwind CSS: bg-[hsl(216,43%,65%)] — CSS variable: --color-primary: hsl(216, 43%, 65%);