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
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
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
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
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%);