HSL(170, 70%, 27%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(170,70%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(170, 70%, 27%) color: hsl(170, 70%, 27%)
HEX #157565 color: #157565
RGB rgb(21, 117, 101) color: rgb(21, 117, 101)
CMYK cmyk(82%, 0%, 14%, 54%)
HSV hsv(170, 82%, 46%)
HWB hwb(170 8% 54%) color: hwb(170 8% 54%)
OKLCH oklch(0.506 0.0874 178.11) color: oklch(0.506 0.0874 178.11)
Lab lab(43.97 -30.46 1.27) color: lab(43.97 -30.46 1.27)
LCH lch(43.97 30.49 177.61) color: lch(43.97 30.49 177.61)

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.58:1
vs Black 3.76: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)

#3F3F69 — rgb(63, 63, 105)

Deuteranopia (Green-blind)

#39326A — rgb(57, 50, 106)

Tritanopia (Blue-blind)

#1A6C6D — rgb(26, 108, 109)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(170, 70%, 27%);

text

color: hsl(170, 70%, 27%);

border

border: 2px solid hsl(170, 70%, 27%);

gradient light

background: linear-gradient(to right, hsl(170, 70%, 47%), hsl(170, 70%, 27%));

gradient dark

background: linear-gradient(to right, hsl(170, 70%, 27%), hsl(170, 70%, 7%))

hex

background-color: #157565;

tailwind

bg-[hsl(170,70%,27%)]

box shadow

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

css variable

--color-primary: hsl(170, 70%, 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(170, 70%, 27%)?

HEX: #157565 | RGB: rgb(21, 117, 101) | CMYK: 82%, 0%, 14%, 54% | HSV: 170°, 82%, 46%. Copy any format from the conversion table above.

What colors go well with #157565?

The complementary color is HSL(350, 70%, 27%). For a triadic harmony, use hues 170°, 290°, and 50°. For analogous combinations, try hues 140° and 200°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(170, 70%, 27%) in CSS?

As HSL: color: hsl(170, 70%, 27%); — As HEX: color: #157565; — As RGB: color: rgb(21, 117, 101); — Tailwind CSS: bg-[hsl(170,70%,27%)] — CSS variable: --color-primary: hsl(170, 70%, 27%);