HSL(150, 20%, 26%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(150,20%,26%)]

Color Conversions

Format Value CSS Usage
HSL hsl(150, 20%, 26%) color: hsl(150, 20%, 26%)
HEX #355042 color: #355042
RGB rgb(53, 80, 66) color: rgb(53, 80, 66)
CMYK cmyk(34%, 0%, 18%, 69%)
HSV hsv(149, 34%, 31%)
HWB hwb(149 20% 69%) color: hwb(149 20% 69%)
OKLCH oklch(0.405 0.0404 161.28) color: oklch(0.405 0.0404 161.28)
Lab lab(31.55 -13.69 5.03) color: lab(31.55 -13.69 5.03)
LCH lch(31.55 14.58 159.83) color: lch(31.55 14.58 159.83)

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 8.83:1
vs Black 2.38: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)

#414145 — rgb(65, 65, 69)

Deuteranopia (Green-blind)

#3F3D46 — rgb(63, 61, 70)

Tritanopia (Blue-blind)

#364849 — rgb(54, 72, 73)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(150, 20%, 26%);

text

color: hsl(150, 20%, 26%);

border

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

gradient light

background: linear-gradient(to right, hsl(150, 20%, 46%), hsl(150, 20%, 26%));

gradient dark

background: linear-gradient(to right, hsl(150, 20%, 26%), hsl(150, 20%, 6%))

hex

background-color: #355042;

tailwind

bg-[hsl(150,20%,26%)]

box shadow

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

css variable

--color-primary: hsl(150, 20%, 26%);

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

HEX: #355042 | RGB: rgb(53, 80, 66) | CMYK: 34%, 0%, 18%, 69% | HSV: 149°, 34%, 31%. Copy any format from the conversion table above.

What colors go well with #355042?

The complementary color is HSL(330, 20%, 26%). For a triadic harmony, use hues 150°, 270°, and 30°. For analogous combinations, try hues 120° and 180°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(150, 20%, 26%); — As HEX: color: #355042; — As RGB: color: rgb(53, 80, 66); — Tailwind CSS: bg-[hsl(150,20%,26%)] — CSS variable: --color-primary: hsl(150, 20%, 26%);