HSL(193, 21%, 57%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(193,21%,57%)]

Color Conversions

Format Value CSS Usage
HSL hsl(193, 21%, 57%) color: hsl(193, 21%, 57%)
HEX #7A9EA8 color: #7A9EA8
RGB rgb(122, 158, 168) color: rgb(122, 158, 168)
CMYK cmyk(27%, 6%, 0%, 34%)
HSV hsv(193, 27%, 66%)
HWB hwb(193 48% 34%) color: hwb(193 48% 34%)
OKLCH oklch(0.676 0.0422 216.62) color: oklch(0.676 0.0422 216.62)
Lab lab(62.86 -9.93 -9.24) color: lab(62.86 -9.93 -9.24)
LCH lch(62.86 13.56 222.94) color: lch(62.86 13.56 222.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 2.88:1
vs Black 7.28:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#8A8AA6 — rgb(138, 138, 166)

Deuteranopia (Green-blind)

#8885A5 — rgb(136, 133, 165)

Tritanopia (Blue-blind)

#7CA4A3 — rgb(124, 164, 163)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(193, 21%, 57%);

text

color: hsl(193, 21%, 57%);

border

border: 2px solid hsl(193, 21%, 57%);

gradient light

background: linear-gradient(to right, hsl(193, 21%, 77%), hsl(193, 21%, 57%));

gradient dark

background: linear-gradient(to right, hsl(193, 21%, 57%), hsl(193, 21%, 37%))

hex

background-color: #7A9EA8;

tailwind

bg-[hsl(193,21%,57%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(193, 21%, 57%, 0.4);

css variable

--color-primary: hsl(193, 21%, 57%);

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(193, 21%, 57%)?

HEX: #7A9EA8 | RGB: rgb(122, 158, 168) | CMYK: 27%, 6%, 0%, 34% | HSV: 193°, 27%, 66%. Copy any format from the conversion table above.

What colors go well with #7A9EA8?

The complementary color is HSL(13, 21%, 57%). For a triadic harmony, use hues 193°, 313°, and 73°. For analogous combinations, try hues 163° and 223°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(193, 21%, 57%) in CSS?

As HSL: color: hsl(193, 21%, 57%); — As HEX: color: #7A9EA8; — As RGB: color: rgb(122, 158, 168); — Tailwind CSS: bg-[hsl(193,21%,57%)] — CSS variable: --color-primary: hsl(193, 21%, 57%);