HSL(190, 62%, 42%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(190,62%,42%)]

Color Conversions

Format Value CSS Usage
HSL hsl(190, 62%, 42%) color: hsl(190, 62%, 42%)
HEX #2997AE color: #2997AE
RGB rgb(41, 151, 174) color: rgb(41, 151, 174)
CMYK cmyk(76%, 13%, 0%, 32%)
HSV hsv(190, 76%, 68%)
HWB hwb(190 16% 32%) color: hwb(190 16% 32%)
OKLCH oklch(0.6266 0.1001 215.31) color: oklch(0.6266 0.1001 215.31)
Lab lab(57.71 -22.23 -20.72) color: lab(57.71 -22.23 -20.72)
LCH lch(57.71 30.39 222.99) color: lch(57.71 30.39 222.99)

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.42:1
vs Black 6.13: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)

#595AA8 — rgb(89, 90, 168)

Deuteranopia (Green-blind)

#524AA7 — rgb(82, 74, 167)

Tritanopia (Blue-blind)

#2FA4A3 — rgb(47, 164, 163)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(190, 62%, 42%);

text

color: hsl(190, 62%, 42%);

border

border: 2px solid hsl(190, 62%, 42%);

gradient light

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

gradient dark

background: linear-gradient(to right, hsl(190, 62%, 42%), hsl(190, 62%, 22%))

hex

background-color: #2997AE;

tailwind

bg-[hsl(190,62%,42%)]

box shadow

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

css variable

--color-primary: hsl(190, 62%, 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(190, 62%, 42%)?

HEX: #2997AE | RGB: rgb(41, 151, 174) | CMYK: 76%, 13%, 0%, 32% | HSV: 190°, 76%, 68%. Copy any format from the conversion table above.

What colors go well with #2997AE?

The complementary color is HSL(10, 62%, 42%). For a triadic harmony, use hues 190°, 310°, and 70°. For analogous combinations, try hues 160° and 220°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(190, 62%, 42%) in CSS?

As HSL: color: hsl(190, 62%, 42%); — As HEX: color: #2997AE; — As RGB: color: rgb(41, 151, 174); — Tailwind CSS: bg-[hsl(190,62%,42%)] — CSS variable: --color-primary: hsl(190, 62%, 42%);