HSL(160, 40%, 28%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(160,40%,28%)]

Color Conversions

Format Value CSS Usage
HSL hsl(160, 40%, 28%) color: hsl(160, 40%, 28%)
HEX #2B6451 color: #2B6451
RGB rgb(43, 100, 81) color: rgb(43, 100, 81)
CMYK cmyk(57%, 0%, 19%, 61%)
HSV hsv(160, 57%, 39%)
HWB hwb(160 17% 61%) color: hwb(160 17% 61%)
OKLCH oklch(0.459 0.0681 168.8) color: oklch(0.459 0.0681 168.8)
Lab lab(38.24 -23.82 5.17) color: lab(38.24 -23.82 5.17)
LCH lch(38.24 24.37 167.75) color: lch(38.24 24.37 167.75)

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.9:1
vs Black 3.04: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)

#444456 — rgb(68, 68, 86)

Deuteranopia (Green-blind)

#403C57 — rgb(64, 60, 87)

Tritanopia (Blue-blind)

#2E595A — rgb(46, 89, 90)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(160, 40%, 28%);

text

color: hsl(160, 40%, 28%);

border

border: 2px solid hsl(160, 40%, 28%);

gradient light

background: linear-gradient(to right, hsl(160, 40%, 48%), hsl(160, 40%, 28%));

gradient dark

background: linear-gradient(to right, hsl(160, 40%, 28%), hsl(160, 40%, 8%))

hex

background-color: #2B6451;

tailwind

bg-[hsl(160,40%,28%)]

box shadow

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

css variable

--color-primary: hsl(160, 40%, 28%);

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(160, 40%, 28%)?

HEX: #2B6451 | RGB: rgb(43, 100, 81) | CMYK: 57%, 0%, 19%, 61% | HSV: 160°, 57%, 39%. Copy any format from the conversion table above.

What colors go well with #2B6451?

The complementary color is HSL(340, 40%, 28%). For a triadic harmony, use hues 160°, 280°, and 40°. For analogous combinations, try hues 130° and 190°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(160, 40%, 28%) in CSS?

As HSL: color: hsl(160, 40%, 28%); — As HEX: color: #2B6451; — As RGB: color: rgb(43, 100, 81); — Tailwind CSS: bg-[hsl(160,40%,28%)] — CSS variable: --color-primary: hsl(160, 40%, 28%);