HSL(185, 52%, 39%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(185,52%,39%)]

Color Conversions

Format Value CSS Usage
HSL hsl(185, 52%, 39%) color: hsl(185, 52%, 39%)
HEX #308F97 color: #308F97
RGB rgb(48, 143, 151) color: rgb(48, 143, 151)
CMYK cmyk(68%, 5%, 0%, 41%)
HSV hsv(185, 68%, 59%)
HWB hwb(185 19% 41%) color: hwb(185 19% 41%)
OKLCH oklch(0.5989 0.0871 203.14) color: oklch(0.5989 0.0871 203.14)
Lab lab(54.56 -24.51 -12.33) color: lab(54.56 -24.51 -12.33)
LCH lch(54.56 27.44 206.71) color: lch(54.56 27.44 206.71)

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.82:1
vs Black 5.5: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)

#595A95 — rgb(89, 90, 149)

Deuteranopia (Green-blind)

#544D95 — rgb(84, 77, 149)

Tritanopia (Blue-blind)

#359493 — rgb(53, 148, 147)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(185, 52%, 39%);

text

color: hsl(185, 52%, 39%);

border

border: 2px solid hsl(185, 52%, 39%);

gradient light

background: linear-gradient(to right, hsl(185, 52%, 59%), hsl(185, 52%, 39%));

gradient dark

background: linear-gradient(to right, hsl(185, 52%, 39%), hsl(185, 52%, 19%))

hex

background-color: #308F97;

tailwind

bg-[hsl(185,52%,39%)]

box shadow

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

css variable

--color-primary: hsl(185, 52%, 39%);

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(185, 52%, 39%)?

HEX: #308F97 | RGB: rgb(48, 143, 151) | CMYK: 68%, 5%, 0%, 41% | HSV: 185°, 68%, 59%. Copy any format from the conversion table above.

What colors go well with #308F97?

The complementary color is HSL(5, 52%, 39%). For a triadic harmony, use hues 185°, 305°, and 65°. For analogous combinations, try hues 155° and 215°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(185, 52%, 39%) in CSS?

As HSL: color: hsl(185, 52%, 39%); — As HEX: color: #308F97; — As RGB: color: rgb(48, 143, 151); — Tailwind CSS: bg-[hsl(185,52%,39%)] — CSS variable: --color-primary: hsl(185, 52%, 39%);