HSL(192, 38%, 40%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(192,38%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(192, 38%, 40%) color: hsl(192, 38%, 40%)
HEX #3F7D8D color: #3F7D8D
RGB rgb(63, 125, 141) color: rgb(63, 125, 141)
CMYK cmyk(55%, 11%, 0%, 45%)
HSV hsv(192, 55%, 55%)
HWB hwb(192 25% 45%) color: hwb(192 25% 45%)
OKLCH oklch(0.5549 0.0684 216.78) color: oklch(0.5549 0.0684 216.78)
Lab lab(49.06 -15.2 -14.78) color: lab(49.06 -15.2 -14.78)
LCH lch(49.06 21.2 224.2) color: lch(49.06 21.2 224.2)

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 4.64:1
vs Black 4.53:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: PASS ✓

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)

#5A5A89 — rgb(90, 90, 137)

Deuteranopia (Green-blind)

#565288 — rgb(86, 82, 136)

Tritanopia (Blue-blind)

#428685 — rgb(66, 134, 133)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(192, 38%, 40%);

text

color: hsl(192, 38%, 40%);

border

border: 2px solid hsl(192, 38%, 40%);

gradient light

background: linear-gradient(to right, hsl(192, 38%, 60%), hsl(192, 38%, 40%));

gradient dark

background: linear-gradient(to right, hsl(192, 38%, 40%), hsl(192, 38%, 20%))

hex

background-color: #3F7D8D;

tailwind

bg-[hsl(192,38%,40%)]

box shadow

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

css variable

--color-primary: hsl(192, 38%, 40%);

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(192, 38%, 40%)?

HEX: #3F7D8D | RGB: rgb(63, 125, 141) | CMYK: 55%, 11%, 0%, 45% | HSV: 192°, 55%, 55%. Copy any format from the conversion table above.

What colors go well with #3F7D8D?

The complementary color is HSL(12, 38%, 40%). For a triadic harmony, use hues 192°, 312°, and 72°. For analogous combinations, try hues 162° and 222°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(192, 38%, 40%) in CSS?

As HSL: color: hsl(192, 38%, 40%); — As HEX: color: #3F7D8D; — As RGB: color: rgb(63, 125, 141); — Tailwind CSS: bg-[hsl(192,38%,40%)] — CSS variable: --color-primary: hsl(192, 38%, 40%);