HSL(168, 50%, 33%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(168,50%,33%)]

Color Conversions

Format Value CSS Usage
HSL hsl(168, 50%, 33%) color: hsl(168, 50%, 33%)
HEX #2A7E6D color: #2A7E6D
RGB rgb(42, 126, 109) color: rgb(42, 126, 109)
CMYK cmyk(67%, 0%, 13%, 51%)
HSV hsv(168, 67%, 49%)
HWB hwb(168 16% 51%) color: hwb(168 16% 51%)
OKLCH oklch(0.5381 0.0843 176.88) color: oklch(0.5381 0.0843 176.88)
Lab lab(47.65 -29.39 1.9) color: lab(47.65 -29.39 1.9)
LCH lch(47.65 29.45 176.3) color: lch(47.65 29.45 176.3)

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 4.88:1
vs Black 4.3: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)

#4E4F71 — rgb(78, 79, 113)

Deuteranopia (Green-blind)

#4A4372 — rgb(74, 67, 114)

Tritanopia (Blue-blind)

#2E7475 — rgb(46, 116, 117)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(168, 50%, 33%);

text

color: hsl(168, 50%, 33%);

border

border: 2px solid hsl(168, 50%, 33%);

gradient light

background: linear-gradient(to right, hsl(168, 50%, 53%), hsl(168, 50%, 33%));

gradient dark

background: linear-gradient(to right, hsl(168, 50%, 33%), hsl(168, 50%, 13%))

hex

background-color: #2A7E6D;

tailwind

bg-[hsl(168,50%,33%)]

box shadow

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

css variable

--color-primary: hsl(168, 50%, 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(168, 50%, 33%)?

HEX: #2A7E6D | RGB: rgb(42, 126, 109) | CMYK: 67%, 0%, 13%, 51% | HSV: 168°, 67%, 49%. Copy any format from the conversion table above.

What colors go well with #2A7E6D?

The complementary color is HSL(348, 50%, 33%). For a triadic harmony, use hues 168°, 288°, and 48°. For analogous combinations, try hues 138° and 198°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(168, 50%, 33%) in CSS?

As HSL: color: hsl(168, 50%, 33%); — As HEX: color: #2A7E6D; — As RGB: color: rgb(42, 126, 109); — Tailwind CSS: bg-[hsl(168,50%,33%)] — CSS variable: --color-primary: hsl(168, 50%, 33%);