HSL(192, 40%, 52%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(192,40%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(192, 40%, 52%) color: hsl(192, 40%, 52%)
HEX #54A2B6 color: #54A2B6
RGB rgb(84, 162, 182) color: rgb(84, 162, 182)
CMYK cmyk(54%, 11%, 0%, 29%)
HSV hsv(192, 54%, 71%)
HWB hwb(192 33% 29%) color: hwb(192 33% 29%)
OKLCH oklch(0.6703 0.0821 216.63) color: oklch(0.6703 0.0821 216.63)
Lab lab(62.59 -18.33 -17.69) color: lab(62.59 -18.33 -17.69)
LCH lch(62.59 25.47 223.98) color: lch(62.59 25.47 223.98)

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.91:1
vs Black 7.22: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)

#7676B1 — rgb(118, 118, 177)

Deuteranopia (Green-blind)

#716BB0 — rgb(113, 107, 176)

Tritanopia (Blue-blind)

#58ADAD — rgb(88, 173, 173)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(192, 40%, 52%);

text

color: hsl(192, 40%, 52%);

border

border: 2px solid hsl(192, 40%, 52%);

gradient light

background: linear-gradient(to right, hsl(192, 40%, 72%), hsl(192, 40%, 52%));

gradient dark

background: linear-gradient(to right, hsl(192, 40%, 52%), hsl(192, 40%, 32%))

hex

background-color: #54A2B6;

tailwind

bg-[hsl(192,40%,52%)]

box shadow

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

css variable

--color-primary: hsl(192, 40%, 52%);

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, 40%, 52%)?

HEX: #54A2B6 | RGB: rgb(84, 162, 182) | CMYK: 54%, 11%, 0%, 29% | HSV: 192°, 54%, 71%. Copy any format from the conversion table above.

What colors go well with #54A2B6?

The complementary color is HSL(12, 40%, 52%). 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, 40%, 52%) in CSS?

As HSL: color: hsl(192, 40%, 52%); — As HEX: color: #54A2B6; — As RGB: color: rgb(84, 162, 182); — Tailwind CSS: bg-[hsl(192,40%,52%)] — CSS variable: --color-primary: hsl(192, 40%, 52%);