HSL(161, 32%, 28%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(161,32%,28%)]

Color Conversions

Format Value CSS Usage
HSL hsl(161, 32%, 28%) color: hsl(161, 32%, 28%)
HEX #315E50 color: #315E50
RGB rgb(49, 94, 80) color: rgb(49, 94, 80)
CMYK cmyk(48%, 0%, 15%, 63%)
HSV hsv(161, 48%, 37%)
HWB hwb(161 19% 63%) color: hwb(161 19% 63%)
OKLCH oklch(0.4451 0.0554 171.45) color: oklch(0.4451 0.0554 171.45)
Lab lab(36.44 -19.3 3.23) color: lab(36.44 -19.3 3.23)
LCH lch(36.44 19.57 170.5) color: lch(36.44 19.57 170.5)

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 7.37:1
vs Black 2.85:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#444553 — rgb(68, 69, 83)

Deuteranopia (Green-blind)

#423F54 — rgb(66, 63, 84)

Tritanopia (Blue-blind)

#335657 — rgb(51, 86, 87)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(161, 32%, 28%);

text

color: hsl(161, 32%, 28%);

border

border: 2px solid hsl(161, 32%, 28%);

gradient light

background: linear-gradient(to right, hsl(161, 32%, 48%), hsl(161, 32%, 28%));

gradient dark

background: linear-gradient(to right, hsl(161, 32%, 28%), hsl(161, 32%, 8%))

hex

background-color: #315E50;

tailwind

bg-[hsl(161,32%,28%)]

box shadow

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

css variable

--color-primary: hsl(161, 32%, 28%);

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(161, 32%, 28%)?

HEX: #315E50 | RGB: rgb(49, 94, 80) | CMYK: 48%, 0%, 15%, 63% | HSV: 161°, 48%, 37%. Copy any format from the conversion table above.

What colors go well with #315E50?

The complementary color is HSL(341, 32%, 28%). For a triadic harmony, use hues 161°, 281°, and 41°. For analogous combinations, try hues 131° and 191°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(161, 32%, 28%) in CSS?

As HSL: color: hsl(161, 32%, 28%); — As HEX: color: #315E50; — As RGB: color: rgb(49, 94, 80); — Tailwind CSS: bg-[hsl(161,32%,28%)] — CSS variable: --color-primary: hsl(161, 32%, 28%);