HSL(167, 42%, 17%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(167,42%,17%)]

Color Conversions

Format Value CSS Usage
HSL hsl(167, 42%, 17%) color: hsl(167, 42%, 17%)
HEX #193E36 color: #193E36
RGB rgb(25, 62, 54) color: rgb(25, 62, 54)
CMYK cmyk(60%, 0%, 13%, 76%)
HSV hsv(167, 60%, 24%)
HWB hwb(167 10% 76%) color: hwb(167 10% 76%)
OKLCH oklch(0.334 0.045 177.26) color: oklch(0.334 0.045 177.26)
Lab lab(23.4 -15.6 0.9) color: lab(23.4 -15.6 0.9)
LCH lch(23.4 15.63 176.7) color: lch(23.4 15.63 176.7)

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.77:1
vs Black 1.78: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)

#292938 — rgb(41, 41, 56)

Deuteranopia (Green-blind)

#272438 — rgb(39, 36, 56)

Tritanopia (Blue-blind)

#1B393A — rgb(27, 57, 58)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(167, 42%, 17%);

text

color: hsl(167, 42%, 17%);

border

border: 2px solid hsl(167, 42%, 17%);

gradient light

background: linear-gradient(to right, hsl(167, 42%, 37%), hsl(167, 42%, 17%));

gradient dark

background: linear-gradient(to right, hsl(167, 42%, 17%), hsl(167, 42%, 0%))

hex

background-color: #193E36;

tailwind

bg-[hsl(167,42%,17%)]

box shadow

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

css variable

--color-primary: hsl(167, 42%, 17%);

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(167, 42%, 17%)?

HEX: #193E36 | RGB: rgb(25, 62, 54) | CMYK: 60%, 0%, 13%, 76% | HSV: 167°, 60%, 24%. Copy any format from the conversion table above.

What colors go well with #193E36?

The complementary color is HSL(347, 42%, 17%). For a triadic harmony, use hues 167°, 287°, and 47°. For analogous combinations, try hues 137° and 197°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(167, 42%, 17%) in CSS?

As HSL: color: hsl(167, 42%, 17%); — As HEX: color: #193E36; — As RGB: color: rgb(25, 62, 54); — Tailwind CSS: bg-[hsl(167,42%,17%)] — CSS variable: --color-primary: hsl(167, 42%, 17%);