HSL(174, 20%, 20%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(174,20%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(174, 20%, 20%) color: hsl(174, 20%, 20%)
HEX #293D3B color: #293D3B
RGB rgb(41, 61, 59) color: rgb(41, 61, 59)
CMYK cmyk(33%, 0%, 3%, 76%)
HSV hsv(174, 33%, 24%)
HWB hwb(174 16% 76%) color: hwb(174 16% 76%)
OKLCH oklch(0.3423 0.0257 188.27) color: oklch(0.3423 0.0257 188.27)
Lab lab(24.08 -8.45 -1.33) color: lab(24.08 -8.45 -1.33)
LCH lch(24.08 8.55 188.94) color: lch(24.08 8.55 188.94)

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 11.51:1
vs Black 1.82: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)

#32323B — rgb(50, 50, 59)

Deuteranopia (Green-blind)

#312F3C — rgb(49, 47, 60)

Tritanopia (Blue-blind)

#2A3C3C — rgb(42, 60, 60)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(174, 20%, 20%);

text

color: hsl(174, 20%, 20%);

border

border: 2px solid hsl(174, 20%, 20%);

gradient light

background: linear-gradient(to right, hsl(174, 20%, 40%), hsl(174, 20%, 20%));

gradient dark

background: linear-gradient(to right, hsl(174, 20%, 20%), hsl(174, 20%, 0%))

hex

background-color: #293D3B;

tailwind

bg-[hsl(174,20%,20%)]

box shadow

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

css variable

--color-primary: hsl(174, 20%, 20%);

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(174, 20%, 20%)?

HEX: #293D3B | RGB: rgb(41, 61, 59) | CMYK: 33%, 0%, 3%, 76% | HSV: 174°, 33%, 24%. Copy any format from the conversion table above.

What colors go well with #293D3B?

The complementary color is HSL(354, 20%, 20%). For a triadic harmony, use hues 174°, 294°, and 54°. For analogous combinations, try hues 144° and 204°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(174, 20%, 20%) in CSS?

As HSL: color: hsl(174, 20%, 20%); — As HEX: color: #293D3B; — As RGB: color: rgb(41, 61, 59); — Tailwind CSS: bg-[hsl(174,20%,20%)] — CSS variable: --color-primary: hsl(174, 20%, 20%);