HSL(178, 30%, 22%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(178,30%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(178, 30%, 22%) color: hsl(178, 30%, 22%)
HEX #274948 color: #274948
RGB rgb(39, 73, 72) color: rgb(39, 73, 72)
CMYK cmyk(47%, 0%, 1%, 71%)
HSV hsv(178, 47%, 29%)
HWB hwb(178 15% 71%) color: hwb(178 15% 71%)
OKLCH oklch(0.3793 0.0398 193.16) color: oklch(0.3793 0.0398 193.16)
Lab lab(28.55 -12.64 -3.28) color: lab(28.55 -12.64 -3.28)
LCH lch(28.55 13.06 194.55) color: lch(28.55 13.06 194.55)

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.85:1
vs Black 2.13: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)

#363648 — rgb(54, 54, 72)

Deuteranopia (Green-blind)

#343148 — rgb(52, 49, 72)

Tritanopia (Blue-blind)

#294848 — rgb(41, 72, 72)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(178, 30%, 22%);

text

color: hsl(178, 30%, 22%);

border

border: 2px solid hsl(178, 30%, 22%);

gradient light

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

gradient dark

background: linear-gradient(to right, hsl(178, 30%, 22%), hsl(178, 30%, 2%))

hex

background-color: #274948;

tailwind

bg-[hsl(178,30%,22%)]

box shadow

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

css variable

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

HEX: #274948 | RGB: rgb(39, 73, 72) | CMYK: 47%, 0%, 1%, 71% | HSV: 178°, 47%, 29%. Copy any format from the conversion table above.

What colors go well with #274948?

The complementary color is HSL(358, 30%, 22%). For a triadic harmony, use hues 178°, 298°, and 58°. For analogous combinations, try hues 148° and 208°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(178, 30%, 22%) in CSS?

As HSL: color: hsl(178, 30%, 22%); — As HEX: color: #274948; — As RGB: color: rgb(39, 73, 72); — Tailwind CSS: bg-[hsl(178,30%,22%)] — CSS variable: --color-primary: hsl(178, 30%, 22%);