HSL(158, 30%, 33%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(158,30%,33%)]

Color Conversions

Format Value CSS Usage
HSL hsl(158, 30%, 33%) color: hsl(158, 30%, 33%)
HEX #3B6D5B color: #3B6D5B
RGB rgb(59, 109, 91) color: rgb(59, 109, 91)
CMYK cmyk(46%, 0%, 17%, 57%)
HSV hsv(158, 46%, 43%)
HWB hwb(158 23% 57%) color: hwb(158 23% 57%)
OKLCH oklch(0.4938 0.0621 168.46) color: oklch(0.4938 0.0621 168.46)
Lab lab(42.19 -21.57 4.84) color: lab(42.19 -21.57 4.84)
LCH lch(42.19 22.11 167.35) color: lch(42.19 22.11 167.35)

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 5.96:1
vs Black 3.52:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#51515F — rgb(81, 81, 95)

Deuteranopia (Green-blind)

#4E4A60 — rgb(78, 74, 96)

Tritanopia (Blue-blind)

#3E6364 — rgb(62, 99, 100)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(158, 30%, 33%);

text

color: hsl(158, 30%, 33%);

border

border: 2px solid hsl(158, 30%, 33%);

gradient light

background: linear-gradient(to right, hsl(158, 30%, 53%), hsl(158, 30%, 33%));

gradient dark

background: linear-gradient(to right, hsl(158, 30%, 33%), hsl(158, 30%, 13%))

hex

background-color: #3B6D5B;

tailwind

bg-[hsl(158,30%,33%)]

box shadow

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

css variable

--color-primary: hsl(158, 30%, 33%);

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(158, 30%, 33%)?

HEX: #3B6D5B | RGB: rgb(59, 109, 91) | CMYK: 46%, 0%, 17%, 57% | HSV: 158°, 46%, 43%. Copy any format from the conversion table above.

What colors go well with #3B6D5B?

The complementary color is HSL(338, 30%, 33%). For a triadic harmony, use hues 158°, 278°, and 38°. For analogous combinations, try hues 128° and 188°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(158, 30%, 33%) in CSS?

As HSL: color: hsl(158, 30%, 33%); — As HEX: color: #3B6D5B; — As RGB: color: rgb(59, 109, 91); — Tailwind CSS: bg-[hsl(158,30%,33%)] — CSS variable: --color-primary: hsl(158, 30%, 33%);