HSL(192, 30%, 42%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(192,30%,42%)]

Color Conversions

Format Value CSS Usage
HSL hsl(192, 30%, 42%) color: hsl(192, 30%, 42%)
HEX #4B7E8B color: #4B7E8B
RGB rgb(75, 126, 139) color: rgb(75, 126, 139)
CMYK cmyk(46%, 9%, 0%, 45%)
HSV hsv(192, 46%, 55%)
HWB hwb(192 30% 45%) color: hwb(192 30% 45%)
OKLCH oklch(0.5623 0.0582 215.88) color: oklch(0.5623 0.0582 215.88)
Lab lab(49.83 -13.44 -12.39) color: lab(49.83 -13.44 -12.39)
LCH lch(49.83 18.28 222.67) color: lch(49.83 18.28 222.67)

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.51:1
vs Black 4.66: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: black

Color Blindness Simulation

Protanopia (Red-blind)

#616288 — rgb(97, 98, 136)

Deuteranopia (Green-blind)

#5E5A87 — rgb(94, 90, 135)

Tritanopia (Blue-blind)

#4E8585 — rgb(78, 133, 133)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(192, 30%, 42%);

text

color: hsl(192, 30%, 42%);

border

border: 2px solid hsl(192, 30%, 42%);

gradient light

background: linear-gradient(to right, hsl(192, 30%, 62%), hsl(192, 30%, 42%));

gradient dark

background: linear-gradient(to right, hsl(192, 30%, 42%), hsl(192, 30%, 22%))

hex

background-color: #4B7E8B;

tailwind

bg-[hsl(192,30%,42%)]

box shadow

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

css variable

--color-primary: hsl(192, 30%, 42%);

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, 30%, 42%)?

HEX: #4B7E8B | RGB: rgb(75, 126, 139) | CMYK: 46%, 9%, 0%, 45% | HSV: 192°, 46%, 55%. Copy any format from the conversion table above.

What colors go well with #4B7E8B?

The complementary color is HSL(12, 30%, 42%). 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, 30%, 42%) in CSS?

As HSL: color: hsl(192, 30%, 42%); — As HEX: color: #4B7E8B; — As RGB: color: rgb(75, 126, 139); — Tailwind CSS: bg-[hsl(192,30%,42%)] — CSS variable: --color-primary: hsl(192, 30%, 42%);