HSL(187, 40%, 51%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(187,40%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(187, 40%, 51%) color: hsl(187, 40%, 51%)
HEX #50A8B4 color: #50A8B4
RGB rgb(80, 168, 180) color: rgb(80, 168, 180)
CMYK cmyk(56%, 7%, 0%, 29%)
HSV hsv(187, 56%, 71%)
HWB hwb(187 31% 29%) color: hwb(187 31% 29%)
OKLCH oklch(0.6823 0.0858 207.26) color: oklch(0.6823 0.0858 207.26)
Lab lab(64.16 -22.86 -14.21) color: lab(64.16 -22.86 -14.21)
LCH lch(64.16 26.92 211.87) color: lch(64.16 26.92 211.87)

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.76:1
vs Black 7.6: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)

#7677B1 — rgb(118, 119, 177)

Deuteranopia (Green-blind)

#716AB0 — rgb(113, 106, 176)

Tritanopia (Blue-blind)

#54AFAE — rgb(84, 175, 174)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(187, 40%, 51%);

text

color: hsl(187, 40%, 51%);

border

border: 2px solid hsl(187, 40%, 51%);

gradient light

background: linear-gradient(to right, hsl(187, 40%, 71%), hsl(187, 40%, 51%));

gradient dark

background: linear-gradient(to right, hsl(187, 40%, 51%), hsl(187, 40%, 31%))

hex

background-color: #50A8B4;

tailwind

bg-[hsl(187,40%,51%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(187, 40%, 51%, 0.4);

css variable

--color-primary: hsl(187, 40%, 51%);

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(187, 40%, 51%)?

HEX: #50A8B4 | RGB: rgb(80, 168, 180) | CMYK: 56%, 7%, 0%, 29% | HSV: 187°, 56%, 71%. Copy any format from the conversion table above.

What colors go well with #50A8B4?

The complementary color is HSL(7, 40%, 51%). For a triadic harmony, use hues 187°, 307°, and 67°. For analogous combinations, try hues 157° and 217°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(187, 40%, 51%) in CSS?

As HSL: color: hsl(187, 40%, 51%); — As HEX: color: #50A8B4; — As RGB: color: rgb(80, 168, 180); — Tailwind CSS: bg-[hsl(187,40%,51%)] — CSS variable: --color-primary: hsl(187, 40%, 51%);