HSL(173, 31%, 39%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(173,31%,39%)]

Color Conversions

Format Value CSS Usage
HSL hsl(173, 31%, 39%) color: hsl(173, 31%, 39%)
HEX #45827B color: #45827B
RGB rgb(69, 130, 123) color: rgb(69, 130, 123)
CMYK cmyk(47%, 0%, 5%, 49%)
HSV hsv(173, 47%, 51%)
HWB hwb(173 27% 49%) color: hwb(173 27% 49%)
OKLCH oklch(0.5634 0.0646 185.93) color: oklch(0.5634 0.0646 185.93)
Lab lab(50.29 -21.59 -2.35) color: lab(50.29 -21.59 -2.35)
LCH lch(50.29 21.72 186.21) color: lch(50.29 21.72 186.21)

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 4.44:1
vs Black 4.73: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)

#5F607D — rgb(95, 96, 125)

Deuteranopia (Green-blind)

#5C577D — rgb(92, 87, 125)

Tritanopia (Blue-blind)

#487E7E — rgb(72, 126, 126)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(173, 31%, 39%);

text

color: hsl(173, 31%, 39%);

border

border: 2px solid hsl(173, 31%, 39%);

gradient light

background: linear-gradient(to right, hsl(173, 31%, 59%), hsl(173, 31%, 39%));

gradient dark

background: linear-gradient(to right, hsl(173, 31%, 39%), hsl(173, 31%, 19%))

hex

background-color: #45827B;

tailwind

bg-[hsl(173,31%,39%)]

box shadow

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

css variable

--color-primary: hsl(173, 31%, 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(173, 31%, 39%)?

HEX: #45827B | RGB: rgb(69, 130, 123) | CMYK: 47%, 0%, 5%, 49% | HSV: 173°, 47%, 51%. Copy any format from the conversion table above.

What colors go well with #45827B?

The complementary color is HSL(353, 31%, 39%). For a triadic harmony, use hues 173°, 293°, and 53°. For analogous combinations, try hues 143° and 203°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(173, 31%, 39%) in CSS?

As HSL: color: hsl(173, 31%, 39%); — As HEX: color: #45827B; — As RGB: color: rgb(69, 130, 123); — Tailwind CSS: bg-[hsl(173,31%,39%)] — CSS variable: --color-primary: hsl(173, 31%, 39%);