HSL(192, 74%, 50%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(192,74%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(192, 74%, 50%) color: hsl(192, 74%, 50%)
HEX #21B8DE color: #21B8DE
RGB rgb(33, 184, 222) color: rgb(33, 184, 222)
CMYK cmyk(85%, 17%, 0%, 13%)
HSV hsv(192, 85%, 87%)
HWB hwb(192 13% 13%) color: hwb(192 13% 13%)
OKLCH oklch(0.7262 0.1271 220.69) color: oklch(0.7262 0.1271 220.69)
Lab lab(69.38 -24.04 -29.55) color: lab(69.38 -24.04 -29.55)
LCH lch(69.38 38.09 230.87) color: lch(69.38 38.09 230.87)

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.34:1
vs Black 8.98: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)

#6264D5 — rgb(98, 100, 213)

Deuteranopia (Green-blind)

#5A4ED3 — rgb(90, 78, 211)

Tritanopia (Blue-blind)

#29CECC — rgb(41, 206, 204)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(192, 74%, 50%);

text

color: hsl(192, 74%, 50%);

border

border: 2px solid hsl(192, 74%, 50%);

gradient light

background: linear-gradient(to right, hsl(192, 74%, 70%), hsl(192, 74%, 50%));

gradient dark

background: linear-gradient(to right, hsl(192, 74%, 50%), hsl(192, 74%, 30%))

hex

background-color: #21B8DE;

tailwind

bg-[hsl(192,74%,50%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(192, 74%, 50%, 0.4);

css variable

--color-primary: hsl(192, 74%, 50%);

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(192, 74%, 50%)?

HEX: #21B8DE | RGB: rgb(33, 184, 222) | CMYK: 85%, 17%, 0%, 13% | HSV: 192°, 85%, 87%. Copy any format from the conversion table above.

What colors go well with #21B8DE?

The complementary color is HSL(12, 74%, 50%). For a triadic harmony, use hues 192°, 312°, and 72°. For analogous combinations, try hues 162° and 222°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(192, 74%, 50%) in CSS?

As HSL: color: hsl(192, 74%, 50%); — As HEX: color: #21B8DE; — As RGB: color: rgb(33, 184, 222); — Tailwind CSS: bg-[hsl(192,74%,50%)] — CSS variable: --color-primary: hsl(192, 74%, 50%);