HSL(189, 30%, 26%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(189,30%,26%)]

Color Conversions

Format Value CSS Usage
HSL hsl(189, 30%, 26%) color: hsl(189, 30%, 26%)
HEX #2E5056 color: #2E5056
RGB rgb(46, 80, 86) color: rgb(46, 80, 86)
CMYK cmyk(47%, 7%, 0%, 66%)
HSV hsv(189, 47%, 34%)
HWB hwb(189 18% 66%) color: hwb(189 18% 66%)
OKLCH oklch(0.4079 0.0408 209.95) color: oklch(0.4079 0.0408 209.95)
Lab lab(31.78 -10.54 -7.4) color: lab(31.78 -10.54 -7.4)
LCH lch(31.78 12.88 215.07) color: lch(31.78 12.88 215.07)

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.76:1
vs Black 2.4: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)

#3D3D55 — rgb(61, 61, 85)

Deuteranopia (Green-blind)

#3B3854 — rgb(59, 56, 84)

Tritanopia (Blue-blind)

#305353 — rgb(48, 83, 83)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(189, 30%, 26%);

text

color: hsl(189, 30%, 26%);

border

border: 2px solid hsl(189, 30%, 26%);

gradient light

background: linear-gradient(to right, hsl(189, 30%, 46%), hsl(189, 30%, 26%));

gradient dark

background: linear-gradient(to right, hsl(189, 30%, 26%), hsl(189, 30%, 6%))

hex

background-color: #2E5056;

tailwind

bg-[hsl(189,30%,26%)]

box shadow

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

css variable

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

HEX: #2E5056 | RGB: rgb(46, 80, 86) | CMYK: 47%, 7%, 0%, 66% | HSV: 189°, 47%, 34%. Copy any format from the conversion table above.

What colors go well with #2E5056?

The complementary color is HSL(9, 30%, 26%). For a triadic harmony, use hues 189°, 309°, and 69°. For analogous combinations, try hues 159° and 219°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(189, 30%, 26%) in CSS?

As HSL: color: hsl(189, 30%, 26%); — As HEX: color: #2E5056; — As RGB: color: rgb(46, 80, 86); — Tailwind CSS: bg-[hsl(189,30%,26%)] — CSS variable: --color-primary: hsl(189, 30%, 26%);