HSL(175, 40%, 28%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(175, 40%, 28%) color: hsl(175, 40%, 28%)
HEX #2B645F color: #2B645F
RGB rgb(43, 100, 95) color: rgb(43, 100, 95)
CMYK cmyk(57%, 0%, 5%, 61%)
HSV hsv(175, 57%, 39%)
HWB hwb(175 17% 61%) color: hwb(175 17% 61%)
OKLCH oklch(0.4637 0.0603 187.6) color: oklch(0.4637 0.0603 187.6)
Lab lab(38.64 -19.96 -2.83) color: lab(38.64 -19.96 -2.83)
LCH lch(38.64 20.16 188.07) color: lch(38.64 20.16 188.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 6.79:1
vs Black 3.09: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)

#444460 — rgb(68, 68, 96)

Deuteranopia (Green-blind)

#403C61 — rgb(64, 60, 97)

Tritanopia (Blue-blind)

#2E6161 — rgb(46, 97, 97)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #2B645F;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(175, 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(175, 40%, 28%)?

HEX: #2B645F | RGB: rgb(43, 100, 95) | CMYK: 57%, 0%, 5%, 61% | HSV: 175°, 57%, 39%. Copy any format from the conversion table above.

What colors go well with #2B645F?

The complementary color is HSL(355, 40%, 28%). For a triadic harmony, use hues 175°, 295°, and 55°. For analogous combinations, try hues 145° and 205°. See the Color Harmony section above for complete palettes with previews.

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

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