HSL(180, 40%, 30%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(180,40%,30%)]

Color Conversions

Format Value CSS Usage
HSL hsl(180, 40%, 30%) color: hsl(180, 40%, 30%)
HEX #2E6B6B color: #2E6B6B
RGB rgb(46, 107, 107) color: rgb(46, 107, 107)
CMYK cmyk(57%, 0%, 0%, 58%)
HSV hsv(180, 57%, 42%)
HWB hwb(180 18% 58%) color: hwb(180 18% 58%)
OKLCH oklch(0.4881 0.0627 195.3) color: oklch(0.4881 0.0627 195.3)
Lab lab(41.46 -19.48 -5.97) color: lab(41.46 -19.48 -5.97)
LCH lch(41.46 20.37 197.04) color: lch(41.46 20.37 197.04)

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 6.12:1
vs Black 3.43: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)

#48496B — rgb(72, 73, 107)

Deuteranopia (Green-blind)

#45406B — rgb(69, 64, 107)

Tritanopia (Blue-blind)

#316B6B — rgb(49, 107, 107)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(180, 40%, 30%);

text

color: hsl(180, 40%, 30%);

border

border: 2px solid hsl(180, 40%, 30%);

gradient light

background: linear-gradient(to right, hsl(180, 40%, 50%), hsl(180, 40%, 30%));

gradient dark

background: linear-gradient(to right, hsl(180, 40%, 30%), hsl(180, 40%, 10%))

hex

background-color: #2E6B6B;

tailwind

bg-[hsl(180,40%,30%)]

box shadow

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

css variable

--color-primary: hsl(180, 40%, 30%);

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(180, 40%, 30%)?

HEX: #2E6B6B | RGB: rgb(46, 107, 107) | CMYK: 57%, 0%, 0%, 58% | HSV: 180°, 57%, 42%. Copy any format from the conversion table above.

What colors go well with #2E6B6B?

The complementary color is HSL(0, 40%, 30%). For a triadic harmony, use hues 180°, 300°, and 60°. For analogous combinations, try hues 150° and 210°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(180, 40%, 30%) in CSS?

As HSL: color: hsl(180, 40%, 30%); — As HEX: color: #2E6B6B; — As RGB: color: rgb(46, 107, 107); — Tailwind CSS: bg-[hsl(180,40%,30%)] — CSS variable: --color-primary: hsl(180, 40%, 30%);