HSL(187, 31%, 52%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(187,31%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(187, 31%, 52%) color: hsl(187, 31%, 52%)
HEX #5FA2AB color: #5FA2AB
RGB rgb(95, 162, 171) color: rgb(95, 162, 171)
CMYK cmyk(44%, 5%, 0%, 33%)
HSV hsv(187, 44%, 67%)
HWB hwb(187 38% 33%) color: hwb(187 38% 33%)
OKLCH oklch(0.6711 0.0694 206.69) color: oklch(0.6711 0.0694 206.69)
Lab lab(62.69 -18.86 -11.33) color: lab(62.69 -18.86 -11.33)
LCH lch(62.69 22 211) color: lch(62.69 22 211)

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

#7C7DA9 — rgb(124, 125, 169)

Deuteranopia (Green-blind)

#7873A8 — rgb(120, 115, 168)

Tritanopia (Blue-blind)

#62A7A7 — rgb(98, 167, 167)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(187, 31%, 52%);

text

color: hsl(187, 31%, 52%);

border

border: 2px solid hsl(187, 31%, 52%);

gradient light

background: linear-gradient(to right, hsl(187, 31%, 72%), hsl(187, 31%, 52%));

gradient dark

background: linear-gradient(to right, hsl(187, 31%, 52%), hsl(187, 31%, 32%))

hex

background-color: #5FA2AB;

tailwind

bg-[hsl(187,31%,52%)]

box shadow

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

css variable

--color-primary: hsl(187, 31%, 52%);

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, 31%, 52%)?

HEX: #5FA2AB | RGB: rgb(95, 162, 171) | CMYK: 44%, 5%, 0%, 33% | HSV: 187°, 44%, 67%. Copy any format from the conversion table above.

What colors go well with #5FA2AB?

The complementary color is HSL(7, 31%, 52%). 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, 31%, 52%) in CSS?

As HSL: color: hsl(187, 31%, 52%); — As HEX: color: #5FA2AB; — As RGB: color: rgb(95, 162, 171); — Tailwind CSS: bg-[hsl(187,31%,52%)] — CSS variable: --color-primary: hsl(187, 31%, 52%);