HSL(178, 50%, 38%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(178,50%,38%)]

Color Conversions

Format Value CSS Usage
HSL hsl(178, 50%, 38%) color: hsl(178, 50%, 38%)
HEX #30918E color: #30918E
RGB rgb(48, 145, 142) color: rgb(48, 145, 142)
CMYK cmyk(67%, 0%, 2%, 43%)
HSV hsv(178, 67%, 57%)
HWB hwb(178 19% 43%) color: hwb(178 19% 43%)
OKLCH oklch(0.6007 0.0882 192.11) color: oklch(0.6007 0.0882 192.11)
Lab lab(54.9 -28.23 -6.65) color: lab(54.9 -28.23 -6.65)
LCH lch(54.9 29 193.26) color: lch(54.9 29 193.26)

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.77:1
vs Black 5.57: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)

#5A5B8F — rgb(90, 91, 143)

Deuteranopia (Green-blind)

#544D8F — rgb(84, 77, 143)

Tritanopia (Blue-blind)

#358F8F — rgb(53, 143, 143)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(178, 50%, 38%);

text

color: hsl(178, 50%, 38%);

border

border: 2px solid hsl(178, 50%, 38%);

gradient light

background: linear-gradient(to right, hsl(178, 50%, 58%), hsl(178, 50%, 38%));

gradient dark

background: linear-gradient(to right, hsl(178, 50%, 38%), hsl(178, 50%, 18%))

hex

background-color: #30918E;

tailwind

bg-[hsl(178,50%,38%)]

box shadow

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

css variable

--color-primary: hsl(178, 50%, 38%);

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, 50%, 38%)?

HEX: #30918E | RGB: rgb(48, 145, 142) | CMYK: 67%, 0%, 2%, 43% | HSV: 178°, 67%, 57%. Copy any format from the conversion table above.

What colors go well with #30918E?

The complementary color is HSL(358, 50%, 38%). 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, 50%, 38%) in CSS?

As HSL: color: hsl(178, 50%, 38%); — As HEX: color: #30918E; — As RGB: color: rgb(48, 145, 142); — Tailwind CSS: bg-[hsl(178,50%,38%)] — CSS variable: --color-primary: hsl(178, 50%, 38%);