HSL(163, 17%, 22%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(163,17%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(163, 17%, 22%) color: hsl(163, 17%, 22%)
HEX #2F423C color: #2F423C
RGB rgb(47, 66, 60) color: rgb(47, 66, 60)
CMYK cmyk(29%, 0%, 9%, 74%)
HSV hsv(161, 29%, 26%)
HWB hwb(161 18% 74%) color: hwb(161 18% 74%)
OKLCH oklch(0.3608 0.0263 173.32) color: oklch(0.3608 0.0263 173.32)
Lab lab(26.24 -9.07 1.21) color: lab(26.24 -9.07 1.21)
LCH lch(26.24 9.15 172.4) color: lch(26.24 9.15 172.4)

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 10.68:1
vs Black 1.97:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#37373D — rgb(55, 55, 61)

Deuteranopia (Green-blind)

#36353E — rgb(54, 53, 62)

Tritanopia (Blue-blind)

#303F3F — rgb(48, 63, 63)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(163, 17%, 22%);

text

color: hsl(163, 17%, 22%);

border

border: 2px solid hsl(163, 17%, 22%);

gradient light

background: linear-gradient(to right, hsl(163, 17%, 42%), hsl(163, 17%, 22%));

gradient dark

background: linear-gradient(to right, hsl(163, 17%, 22%), hsl(163, 17%, 2%))

hex

background-color: #2F423C;

tailwind

bg-[hsl(163,17%,22%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(163, 17%, 22%, 0.4);

css variable

--color-primary: hsl(163, 17%, 22%);

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(163, 17%, 22%)?

HEX: #2F423C | RGB: rgb(47, 66, 60) | CMYK: 29%, 0%, 9%, 74% | HSV: 161°, 29%, 26%. Copy any format from the conversion table above.

What colors go well with #2F423C?

The complementary color is HSL(343, 17%, 22%). For a triadic harmony, use hues 163°, 283°, and 43°. For analogous combinations, try hues 133° and 193°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(163, 17%, 22%) in CSS?

As HSL: color: hsl(163, 17%, 22%); — As HEX: color: #2F423C; — As RGB: color: rgb(47, 66, 60); — Tailwind CSS: bg-[hsl(163,17%,22%)] — CSS variable: --color-primary: hsl(163, 17%, 22%);