HSL(187, 20%, 28%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(187,20%,28%)]

Color Conversions

Format Value CSS Usage
HSL hsl(187, 20%, 28%) color: hsl(187, 20%, 28%)
HEX #395256 color: #395256
RGB rgb(57, 82, 86) color: rgb(57, 82, 86)
CMYK cmyk(34%, 5%, 0%, 66%)
HSV hsv(188, 34%, 34%)
HWB hwb(188 22% 66%) color: hwb(188 22% 66%)
OKLCH oklch(0.4199 0.031 208.39) color: oklch(0.4199 0.031 208.39)
Lab lab(33.08 -8.32 -5.39) color: lab(33.08 -8.32 -5.39)
LCH lch(33.08 9.91 212.94) color: lch(33.08 9.91 212.94)

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.35:1
vs Black 2.52: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)

#444455 — rgb(68, 68, 85)

Deuteranopia (Green-blind)

#424155 — rgb(66, 65, 85)

Tritanopia (Blue-blind)

#3A5454 — rgb(58, 84, 84)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(187, 20%, 28%);

text

color: hsl(187, 20%, 28%);

border

border: 2px solid hsl(187, 20%, 28%);

gradient light

background: linear-gradient(to right, hsl(187, 20%, 48%), hsl(187, 20%, 28%));

gradient dark

background: linear-gradient(to right, hsl(187, 20%, 28%), hsl(187, 20%, 8%))

hex

background-color: #395256;

tailwind

bg-[hsl(187,20%,28%)]

box shadow

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

css variable

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

HEX: #395256 | RGB: rgb(57, 82, 86) | CMYK: 34%, 5%, 0%, 66% | HSV: 188°, 34%, 34%. Copy any format from the conversion table above.

What colors go well with #395256?

The complementary color is HSL(7, 20%, 28%). For a triadic harmony, use hues 187°, 307°, and 67°. For analogous combinations, try hues 157° and 217°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(187, 20%, 28%) in CSS?

As HSL: color: hsl(187, 20%, 28%); — As HEX: color: #395256; — As RGB: color: rgb(57, 82, 86); — Tailwind CSS: bg-[hsl(187,20%,28%)] — CSS variable: --color-primary: hsl(187, 20%, 28%);