HSL(165, 40%, 26%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(165,40%,26%)]

Color Conversions

Format Value CSS Usage
HSL hsl(165, 40%, 26%) color: hsl(165, 40%, 26%)
HEX #285D50 color: #285D50
RGB rgb(40, 93, 80) color: rgb(40, 93, 80)
CMYK cmyk(57%, 0%, 14%, 64%)
HSV hsv(165, 57%, 36%)
HWB hwb(165 15% 64%) color: hwb(165 15% 64%)
OKLCH oklch(0.4381 0.0609 174.98) color: oklch(0.4381 0.0609 174.98)
Lab lab(35.71 -21.22 2.13) color: lab(35.71 -21.22 2.13)
LCH lch(35.71 21.33 174.27) color: lch(35.71 21.33 174.27)

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 7.58:1
vs Black 2.77: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)

#3F3F53 — rgb(63, 63, 83)

Deuteranopia (Green-blind)

#3C3854 — rgb(60, 56, 84)

Tritanopia (Blue-blind)

#2B5656 — rgb(43, 86, 86)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(165, 40%, 26%);

text

color: hsl(165, 40%, 26%);

border

border: 2px solid hsl(165, 40%, 26%);

gradient light

background: linear-gradient(to right, hsl(165, 40%, 46%), hsl(165, 40%, 26%));

gradient dark

background: linear-gradient(to right, hsl(165, 40%, 26%), hsl(165, 40%, 6%))

hex

background-color: #285D50;

tailwind

bg-[hsl(165,40%,26%)]

box shadow

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

css variable

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

HEX: #285D50 | RGB: rgb(40, 93, 80) | CMYK: 57%, 0%, 14%, 64% | HSV: 165°, 57%, 36%. Copy any format from the conversion table above.

What colors go well with #285D50?

The complementary color is HSL(345, 40%, 26%). For a triadic harmony, use hues 165°, 285°, and 45°. For analogous combinations, try hues 135° and 195°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(165, 40%, 26%) in CSS?

As HSL: color: hsl(165, 40%, 26%); — As HEX: color: #285D50; — As RGB: color: rgb(40, 93, 80); — Tailwind CSS: bg-[hsl(165,40%,26%)] — CSS variable: --color-primary: hsl(165, 40%, 26%);