HSL(170, 23%, 18%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(170,23%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(170, 23%, 18%) color: hsl(170, 23%, 18%)
HEX #233835 color: #233835
RGB rgb(35, 56, 53) color: rgb(35, 56, 53)
CMYK cmyk(38%, 0%, 5%, 78%)
HSV hsv(171, 38%, 22%)
HWB hwb(171 14% 78%) color: hwb(171 14% 78%)
OKLCH oklch(0.3219 0.0273 184.76) color: oklch(0.3219 0.0273 184.76)
Lab lab(21.74 -9.16 -0.79) color: lab(21.74 -9.16 -0.79)
LCH lch(21.74 9.19 184.93) color: lch(21.74 9.19 184.93)

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.44:1
vs Black 1.69: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)

#2C2C36 — rgb(44, 44, 54)

Deuteranopia (Green-blind)

#2B2936 — rgb(43, 41, 54)

Tritanopia (Blue-blind)

#243636 — rgb(36, 54, 54)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(170, 23%, 18%);

text

color: hsl(170, 23%, 18%);

border

border: 2px solid hsl(170, 23%, 18%);

gradient light

background: linear-gradient(to right, hsl(170, 23%, 38%), hsl(170, 23%, 18%));

gradient dark

background: linear-gradient(to right, hsl(170, 23%, 18%), hsl(170, 23%, 0%))

hex

background-color: #233835;

tailwind

bg-[hsl(170,23%,18%)]

box shadow

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

css variable

--color-primary: hsl(170, 23%, 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(170, 23%, 18%)?

HEX: #233835 | RGB: rgb(35, 56, 53) | CMYK: 38%, 0%, 5%, 78% | HSV: 171°, 38%, 22%. Copy any format from the conversion table above.

What colors go well with #233835?

The complementary color is HSL(350, 23%, 18%). For a triadic harmony, use hues 170°, 290°, and 50°. For analogous combinations, try hues 140° and 200°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(170, 23%, 18%) in CSS?

As HSL: color: hsl(170, 23%, 18%); — As HEX: color: #233835; — As RGB: color: rgb(35, 56, 53); — Tailwind CSS: bg-[hsl(170,23%,18%)] — CSS variable: --color-primary: hsl(170, 23%, 18%);