HSL(193, 30%, 18%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(193,30%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(193, 30%, 18%) color: hsl(193, 30%, 18%)
HEX #20363C color: #20363C
RGB rgb(32, 54, 60) color: rgb(32, 54, 60)
CMYK cmyk(47%, 10%, 0%, 76%)
HSV hsv(193, 47%, 24%)
HWB hwb(193 13% 76%) color: hwb(193 13% 76%)
OKLCH oklch(0.3172 0.0298 216.88) color: oklch(0.3172 0.0298 216.88)
Lab lab(21.1 -6.79 -6.5) color: lab(21.1 -6.79 -6.5)
LCH lch(21.1 9.4 223.75) color: lch(21.1 9.4 223.75)

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 12.69:1
vs Black 1.65: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)

#2A2A3B — rgb(42, 42, 59)

Deuteranopia (Green-blind)

#28273A — rgb(40, 39, 58)

Tritanopia (Blue-blind)

#213939 — rgb(33, 57, 57)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(193, 30%, 18%);

text

color: hsl(193, 30%, 18%);

border

border: 2px solid hsl(193, 30%, 18%);

gradient light

background: linear-gradient(to right, hsl(193, 30%, 38%), hsl(193, 30%, 18%));

gradient dark

background: linear-gradient(to right, hsl(193, 30%, 18%), hsl(193, 30%, 0%))

hex

background-color: #20363C;

tailwind

bg-[hsl(193,30%,18%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(193, 30%, 18%, 0.4);

css variable

--color-primary: hsl(193, 30%, 18%);

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(193, 30%, 18%)?

HEX: #20363C | RGB: rgb(32, 54, 60) | CMYK: 47%, 10%, 0%, 76% | HSV: 193°, 47%, 24%. Copy any format from the conversion table above.

What colors go well with #20363C?

The complementary color is HSL(13, 30%, 18%). For a triadic harmony, use hues 193°, 313°, and 73°. For analogous combinations, try hues 163° and 223°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(193, 30%, 18%) in CSS?

As HSL: color: hsl(193, 30%, 18%); — As HEX: color: #20363C; — As RGB: color: rgb(32, 54, 60); — Tailwind CSS: bg-[hsl(193,30%,18%)] — CSS variable: --color-primary: hsl(193, 30%, 18%);