HSL(157, 36%, 27%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(157,36%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(157, 36%, 27%) color: hsl(157, 36%, 27%)
HEX #2C5E4B color: #2C5E4B
RGB rgb(44, 94, 75) color: rgb(44, 94, 75)
CMYK cmyk(53%, 0%, 20%, 63%)
HSV hsv(157, 53%, 37%)
HWB hwb(157 17% 63%) color: hwb(157 17% 63%)
OKLCH oklch(0.4411 0.0633 166.44) color: oklch(0.4411 0.0633 166.44)
Lab lab(36.08 -22 5.78) color: lab(36.08 -22 5.78)
LCH lch(36.08 22.75 165.28) color: lch(36.08 22.75 165.28)

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.47:1
vs Black 2.81: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)

#424250 — rgb(66, 66, 80)

Deuteranopia (Green-blind)

#3F3B51 — rgb(63, 59, 81)

Tritanopia (Blue-blind)

#2F5354 — rgb(47, 83, 84)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(157, 36%, 27%);

text

color: hsl(157, 36%, 27%);

border

border: 2px solid hsl(157, 36%, 27%);

gradient light

background: linear-gradient(to right, hsl(157, 36%, 47%), hsl(157, 36%, 27%));

gradient dark

background: linear-gradient(to right, hsl(157, 36%, 27%), hsl(157, 36%, 7%))

hex

background-color: #2C5E4B;

tailwind

bg-[hsl(157,36%,27%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(157, 36%, 27%, 0.4);

css variable

--color-primary: hsl(157, 36%, 27%);

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(157, 36%, 27%)?

HEX: #2C5E4B | RGB: rgb(44, 94, 75) | CMYK: 53%, 0%, 20%, 63% | HSV: 157°, 53%, 37%. Copy any format from the conversion table above.

What colors go well with #2C5E4B?

The complementary color is HSL(337, 36%, 27%). For a triadic harmony, use hues 157°, 277°, and 37°. For analogous combinations, try hues 127° and 187°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(157, 36%, 27%) in CSS?

As HSL: color: hsl(157, 36%, 27%); — As HEX: color: #2C5E4B; — As RGB: color: rgb(44, 94, 75); — Tailwind CSS: bg-[hsl(157,36%,27%)] — CSS variable: --color-primary: hsl(157, 36%, 27%);