HSL(188, 94%, 28%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(188,94%,28%)]

Color Conversions

Format Value CSS Usage
HSL hsl(188, 94%, 28%) color: hsl(188, 94%, 28%)
HEX #04798B color: #04798B
RGB rgb(4, 121, 139) color: rgb(4, 121, 139)
CMYK cmyk(97%, 13%, 0%, 45%)
HSV hsv(188, 97%, 55%)
HWB hwb(188 2% 45%) color: hwb(188 2% 45%)
OKLCH oklch(0.5295 0.0917 212.82) color: oklch(0.5295 0.0917 212.82)
Lab lab(46.4 -21.32 -17.79) color: lab(46.4 -21.32 -17.79)
LCH lch(46.4 27.77 219.84) color: lch(46.4 27.77 219.84)

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 5.11:1
vs Black 4.11: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)

#373887 — rgb(55, 56, 135)

Deuteranopia (Green-blind)

#302786 — rgb(48, 39, 134)

Tritanopia (Blue-blind)

#0A8382 — rgb(10, 131, 130)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(188, 94%, 28%);

text

color: hsl(188, 94%, 28%);

border

border: 2px solid hsl(188, 94%, 28%);

gradient light

background: linear-gradient(to right, hsl(188, 94%, 48%), hsl(188, 94%, 28%));

gradient dark

background: linear-gradient(to right, hsl(188, 94%, 28%), hsl(188, 94%, 8%))

hex

background-color: #04798B;

tailwind

bg-[hsl(188,94%,28%)]

box shadow

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

css variable

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

HEX: #04798B | RGB: rgb(4, 121, 139) | CMYK: 97%, 13%, 0%, 45% | HSV: 188°, 97%, 55%. Copy any format from the conversion table above.

What colors go well with #04798B?

The complementary color is HSL(8, 94%, 28%). For a triadic harmony, use hues 188°, 308°, and 68°. For analogous combinations, try hues 158° and 218°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(188, 94%, 28%) in CSS?

As HSL: color: hsl(188, 94%, 28%); — As HEX: color: #04798B; — As RGB: color: rgb(4, 121, 139); — Tailwind CSS: bg-[hsl(188,94%,28%)] — CSS variable: --color-primary: hsl(188, 94%, 28%);