HSL(188, 59%, 42%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(188,59%,42%)]

Color Conversions

Format Value CSS Usage
HSL hsl(188, 59%, 42%) color: hsl(188, 59%, 42%)
HEX #2C99AA color: #2C99AA
RGB rgb(44, 153, 170) color: rgb(44, 153, 170)
CMYK cmyk(74%, 10%, 0%, 33%)
HSV hsv(188, 74%, 67%)
HWB hwb(188 17% 33%) color: hwb(188 17% 33%)
OKLCH oklch(0.6306 0.0974 210.27) color: oklch(0.6306 0.0974 210.27)
Lab lab(58.24 -24.2 -17.64) color: lab(58.24 -24.2 -17.64)
LCH lch(58.24 29.95 216.09) color: lch(58.24 29.95 216.09)

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 3.36:1
vs Black 6.24:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#5B5CA6 — rgb(91, 92, 166)

Deuteranopia (Green-blind)

#554DA5 — rgb(85, 77, 165)

Tritanopia (Blue-blind)

#31A3A2 — rgb(49, 163, 162)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(188, 59%, 42%);

text

color: hsl(188, 59%, 42%);

border

border: 2px solid hsl(188, 59%, 42%);

gradient light

background: linear-gradient(to right, hsl(188, 59%, 62%), hsl(188, 59%, 42%));

gradient dark

background: linear-gradient(to right, hsl(188, 59%, 42%), hsl(188, 59%, 22%))

hex

background-color: #2C99AA;

tailwind

bg-[hsl(188,59%,42%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(188, 59%, 42%, 0.4);

css variable

--color-primary: hsl(188, 59%, 42%);

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(188, 59%, 42%)?

HEX: #2C99AA | RGB: rgb(44, 153, 170) | CMYK: 74%, 10%, 0%, 33% | HSV: 188°, 74%, 67%. Copy any format from the conversion table above.

What colors go well with #2C99AA?

The complementary color is HSL(8, 59%, 42%). For a triadic harmony, use hues 188°, 308°, and 68°. For analogous combinations, try hues 158° and 218°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(188, 59%, 42%) in CSS?

As HSL: color: hsl(188, 59%, 42%); — As HEX: color: #2C99AA; — As RGB: color: rgb(44, 153, 170); — Tailwind CSS: bg-[hsl(188,59%,42%)] — CSS variable: --color-primary: hsl(188, 59%, 42%);