HSL(165, 42%, 22%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(165,42%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(165, 42%, 22%) color: hsl(165, 42%, 22%)
HEX #215044 color: #215044
RGB rgb(33, 80, 68) color: rgb(33, 80, 68)
CMYK cmyk(59%, 0%, 15%, 69%)
HSV hsv(165, 59%, 31%)
HWB hwb(165 13% 69%) color: hwb(165 13% 69%)
OKLCH oklch(0.3946 0.0556 174.18) color: oklch(0.3946 0.0556 174.18)
Lab lab(30.59 -19.41 2.24) color: lab(30.59 -19.41 2.24)
LCH lch(30.59 19.54 173.42) color: lch(30.59 19.54 173.42)

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 9.15:1
vs Black 2.3: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)

#353647 — rgb(53, 54, 71)

Deuteranopia (Green-blind)

#332F48 — rgb(51, 47, 72)

Tritanopia (Blue-blind)

#23494A — rgb(35, 73, 74)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(165, 42%, 22%);

text

color: hsl(165, 42%, 22%);

border

border: 2px solid hsl(165, 42%, 22%);

gradient light

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

gradient dark

background: linear-gradient(to right, hsl(165, 42%, 22%), hsl(165, 42%, 2%))

hex

background-color: #215044;

tailwind

bg-[hsl(165,42%,22%)]

box shadow

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

css variable

--color-primary: hsl(165, 42%, 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(165, 42%, 22%)?

HEX: #215044 | RGB: rgb(33, 80, 68) | CMYK: 59%, 0%, 15%, 69% | HSV: 165°, 59%, 31%. Copy any format from the conversion table above.

What colors go well with #215044?

The complementary color is HSL(345, 42%, 22%). For a triadic harmony, use hues 165°, 285°, and 45°. For analogous combinations, try hues 135° and 195°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(165, 42%, 22%) in CSS?

As HSL: color: hsl(165, 42%, 22%); — As HEX: color: #215044; — As RGB: color: rgb(33, 80, 68); — Tailwind CSS: bg-[hsl(165,42%,22%)] — CSS variable: --color-primary: hsl(165, 42%, 22%);