HSL(173, 31%, 31%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(173, 31%, 31%) color: hsl(173, 31%, 31%)
HEX #376862 color: #376862
RGB rgb(55, 104, 98) color: rgb(55, 104, 98)
CMYK cmyk(47%, 0%, 6%, 59%)
HSV hsv(173, 47%, 41%)
HWB hwb(173 22% 59%) color: hwb(173 22% 59%)
OKLCH oklch(0.4809 0.0544 185.38) color: oklch(0.4809 0.0544 185.38)
Lab lab(40.56 -18.22 -1.79) color: lab(40.56 -18.22 -1.79)
LCH lch(40.56 18.31 185.61) color: lch(40.56 18.31 185.61)

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 6.33:1
vs Black 3.32:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#4C4D63 — rgb(76, 77, 99)

Deuteranopia (Green-blind)

#494664 — rgb(73, 70, 100)

Tritanopia (Blue-blind)

#396565 — rgb(57, 101, 101)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #376862;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(173, 31%, 31%);

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

HEX: #376862 | RGB: rgb(55, 104, 98) | CMYK: 47%, 0%, 6%, 59% | HSV: 173°, 47%, 41%. Copy any format from the conversion table above.

What colors go well with #376862?

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

As HSL: color: hsl(173, 31%, 31%); — As HEX: color: #376862; — As RGB: color: rgb(55, 104, 98); — Tailwind CSS: bg-[hsl(173,31%,31%)] — CSS variable: --color-primary: hsl(173, 31%, 31%);