HSL(177, 20%, 42%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(177,20%,42%)]

Color Conversions

Format Value CSS Usage
HSL hsl(177, 20%, 42%) color: hsl(177, 20%, 42%)
HEX #56817E color: #56817E
RGB rgb(86, 129, 126) color: rgb(86, 129, 126)
CMYK cmyk(33%, 0%, 2%, 49%)
HSV hsv(176, 33%, 51%)
HWB hwb(176 34% 49%) color: hwb(176 34% 49%)
OKLCH oklch(0.571 0.0477 190.39) color: oklch(0.571 0.0477 190.39)
Lab lab(50.9 -15.48 -3.11) color: lab(50.9 -15.48 -3.11)
LCH lch(50.9 15.79 191.36) color: lch(50.9 15.79 191.36)

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 4.34:1
vs Black 4.84:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#69697F — rgb(105, 105, 127)

Deuteranopia (Green-blind)

#66637F — rgb(102, 99, 127)

Tritanopia (Blue-blind)

#587F7F — rgb(88, 127, 127)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(177, 20%, 42%);

text

color: hsl(177, 20%, 42%);

border

border: 2px solid hsl(177, 20%, 42%);

gradient light

background: linear-gradient(to right, hsl(177, 20%, 62%), hsl(177, 20%, 42%));

gradient dark

background: linear-gradient(to right, hsl(177, 20%, 42%), hsl(177, 20%, 22%))

hex

background-color: #56817E;

tailwind

bg-[hsl(177,20%,42%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(177, 20%, 42%, 0.4);

css variable

--color-primary: hsl(177, 20%, 42%);

Related Colors

Use Cases for Cyan

Tech/SaaS products Medical apps Water/ocean themes Clean UI elements Data viz

Frequently Asked Questions

What are all the color codes for HSL(177, 20%, 42%)?

HEX: #56817E | RGB: rgb(86, 129, 126) | CMYK: 33%, 0%, 2%, 49% | HSV: 176°, 33%, 51%. Copy any format from the conversion table above.

What colors go well with #56817E?

The complementary color is HSL(357, 20%, 42%). For a triadic harmony, use hues 177°, 297°, and 57°. For analogous combinations, try hues 147° and 207°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(177, 20%, 42%) in CSS?

As HSL: color: hsl(177, 20%, 42%); — As HEX: color: #56817E; — As RGB: color: rgb(86, 129, 126); — Tailwind CSS: bg-[hsl(177,20%,42%)] — CSS variable: --color-primary: hsl(177, 20%, 42%);