HSL(178, 70%, 43%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(178,70%,43%)]

Color Conversions

Format Value CSS Usage
HSL hsl(178, 70%, 43%) color: hsl(178, 70%, 43%)
HEX #21BAB5 color: #21BAB5
RGB rgb(33, 186, 181) color: rgb(33, 186, 181)
CMYK cmyk(82%, 0%, 3%, 27%)
HSV hsv(178, 82%, 73%)
HWB hwb(178 13% 27%) color: hwb(178 13% 27%)
OKLCH oklch(0.7151 0.1176 191.31) color: oklch(0.7151 0.1176 191.31)
Lab lab(68.59 -37.86 -8.25) color: lab(68.59 -37.86 -8.25)
LCH lch(68.59 38.75 192.29) color: lch(68.59 38.75 192.29)

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.4:1
vs Black 8.76: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)

#6365B6 — rgb(99, 101, 182)

Deuteranopia (Green-blind)

#5A4FB7 — rgb(90, 79, 183)

Tritanopia (Blue-blind)

#29B7B7 — rgb(41, 183, 183)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(178, 70%, 43%);

text

color: hsl(178, 70%, 43%);

border

border: 2px solid hsl(178, 70%, 43%);

gradient light

background: linear-gradient(to right, hsl(178, 70%, 63%), hsl(178, 70%, 43%));

gradient dark

background: linear-gradient(to right, hsl(178, 70%, 43%), hsl(178, 70%, 23%))

hex

background-color: #21BAB5;

tailwind

bg-[hsl(178,70%,43%)]

box shadow

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

css variable

--color-primary: hsl(178, 70%, 43%);

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(178, 70%, 43%)?

HEX: #21BAB5 | RGB: rgb(33, 186, 181) | CMYK: 82%, 0%, 3%, 27% | HSV: 178°, 82%, 73%. Copy any format from the conversion table above.

What colors go well with #21BAB5?

The complementary color is HSL(358, 70%, 43%). For a triadic harmony, use hues 178°, 298°, and 58°. For analogous combinations, try hues 148° and 208°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(178, 70%, 43%) in CSS?

As HSL: color: hsl(178, 70%, 43%); — As HEX: color: #21BAB5; — As RGB: color: rgb(33, 186, 181); — Tailwind CSS: bg-[hsl(178,70%,43%)] — CSS variable: --color-primary: hsl(178, 70%, 43%);