HSL(188, 30%, 51%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(188,30%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(188, 30%, 51%) color: hsl(188, 30%, 51%)
HEX #5D9EA8 color: #5D9EA8
RGB rgb(93, 158, 168) color: rgb(93, 158, 168)
CMYK cmyk(45%, 6%, 0%, 34%)
HSV hsv(188, 45%, 66%)
HWB hwb(188 36% 34%) color: hwb(188 36% 34%)
OKLCH oklch(0.6595 0.0681 208.24) color: oklch(0.6595 0.0681 208.24)
Lab lab(61.31 -18.07 -11.71) color: lab(61.31 -18.07 -11.71)
LCH lch(61.31 21.53 212.94) color: lch(61.31 21.53 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 3.03:1
vs Black 6.92:1

AA Normal (4.5:1)

on White: FAIL ✗ 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)

#797AA6 — rgb(121, 122, 166)

Deuteranopia (Green-blind)

#7571A5 — rgb(117, 113, 165)

Tritanopia (Blue-blind)

#60A4A3 — rgb(96, 164, 163)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(188, 30%, 51%);

text

color: hsl(188, 30%, 51%);

border

border: 2px solid hsl(188, 30%, 51%);

gradient light

background: linear-gradient(to right, hsl(188, 30%, 71%), hsl(188, 30%, 51%));

gradient dark

background: linear-gradient(to right, hsl(188, 30%, 51%), hsl(188, 30%, 31%))

hex

background-color: #5D9EA8;

tailwind

bg-[hsl(188,30%,51%)]

box shadow

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

css variable

--color-primary: hsl(188, 30%, 51%);

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

HEX: #5D9EA8 | RGB: rgb(93, 158, 168) | CMYK: 45%, 6%, 0%, 34% | HSV: 188°, 45%, 66%. Copy any format from the conversion table above.

What colors go well with #5D9EA8?

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

As HSL: color: hsl(188, 30%, 51%); — As HEX: color: #5D9EA8; — As RGB: color: rgb(93, 158, 168); — Tailwind CSS: bg-[hsl(188,30%,51%)] — CSS variable: --color-primary: hsl(188, 30%, 51%);