HSL(174, 40%, 32%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(174,40%,32%)]

Color Conversions

Format Value CSS Usage
HSL hsl(174, 40%, 32%) color: hsl(174, 40%, 32%)
HEX #31726C color: #31726C
RGB rgb(49, 114, 108) color: rgb(49, 114, 108)
CMYK cmyk(57%, 0%, 5%, 55%)
HSV hsv(174, 57%, 45%)
HWB hwb(174 19% 55%) color: hwb(174 19% 55%)
OKLCH oklch(0.5082 0.0669 187.15) color: oklch(0.5082 0.0669 187.15)
Lab lab(43.9 -22.23 -2.95) color: lab(43.9 -22.23 -2.95)
LCH lch(43.9 22.42 187.56) color: lch(43.9 22.42 187.56)

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 5.59:1
vs Black 3.75:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#4D4E6D — rgb(77, 78, 109)

Deuteranopia (Green-blind)

#49456E — rgb(73, 69, 110)

Tritanopia (Blue-blind)

#346F6F — rgb(52, 111, 111)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(174, 40%, 32%);

text

color: hsl(174, 40%, 32%);

border

border: 2px solid hsl(174, 40%, 32%);

gradient light

background: linear-gradient(to right, hsl(174, 40%, 52%), hsl(174, 40%, 32%));

gradient dark

background: linear-gradient(to right, hsl(174, 40%, 32%), hsl(174, 40%, 12%))

hex

background-color: #31726C;

tailwind

bg-[hsl(174,40%,32%)]

box shadow

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

css variable

--color-primary: hsl(174, 40%, 32%);

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(174, 40%, 32%)?

HEX: #31726C | RGB: rgb(49, 114, 108) | CMYK: 57%, 0%, 5%, 55% | HSV: 174°, 57%, 45%. Copy any format from the conversion table above.

What colors go well with #31726C?

The complementary color is HSL(354, 40%, 32%). For a triadic harmony, use hues 174°, 294°, and 54°. For analogous combinations, try hues 144° and 204°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(174, 40%, 32%) in CSS?

As HSL: color: hsl(174, 40%, 32%); — As HEX: color: #31726C; — As RGB: color: rgb(49, 114, 108); — Tailwind CSS: bg-[hsl(174,40%,32%)] — CSS variable: --color-primary: hsl(174, 40%, 32%);