HSL(157, 20%, 63%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(157,20%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(157, 20%, 63%) | color: hsl(157, 20%, 63%) | |
| HEX | #8EB4A5 | color: #8EB4A5 | |
| RGB | rgb(142, 180, 165) | color: rgb(142, 180, 165) | |
| CMYK | cmyk(21%, 0%, 8%, 29%) | — | |
| HSV | hsv(156, 21%, 71%) | — | |
| HWB | hwb(156 56% 29%) | color: hwb(156 56% 29%) | |
| OKLCH | oklch(0.7377 0.0464 168.98) | color: oklch(0.7377 0.0464 168.98) | |
| Lab | lab(70.25 -15.92 3.45) | color: lab(70.25 -15.92 3.45) | |
| LCH | lch(70.25 16.29 167.77) | color: lch(70.25 16.29 167.77) |
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)
#9E9FA9 — rgb(158, 159, 169)
Deuteranopia (Green-blind)
#9C99AA — rgb(156, 153, 170)
Tritanopia (Blue-blind)
#90ABAC — rgb(144, 171, 172)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(157, 20%, 63%);
text
color: hsl(157, 20%, 63%);
border
border: 2px solid hsl(157, 20%, 63%);
gradient light
background: linear-gradient(to right, hsl(157, 20%, 83%), hsl(157, 20%, 63%));
gradient dark
background: linear-gradient(to right, hsl(157, 20%, 63%), hsl(157, 20%, 43%))
hex
background-color: #8EB4A5;
tailwind
bg-[hsl(157,20%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(157, 20%, 63%, 0.4);
css variable
--color-primary: hsl(157, 20%, 63%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(157, 20%, 63%)?
HEX: #8EB4A5 | RGB: rgb(142, 180, 165) | CMYK: 21%, 0%, 8%, 29% | HSV: 156°, 21%, 71%. Copy any format from the conversion table above.
What colors go well with #8EB4A5?
The complementary color is HSL(337, 20%, 63%). For a triadic harmony, use hues 157°, 277°, and 37°. For analogous combinations, try hues 127° and 187°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(157, 20%, 63%) in CSS?
As HSL: color: hsl(157, 20%, 63%); — As HEX: color: #8EB4A5; — As RGB: color: rgb(142, 180, 165); — Tailwind CSS: bg-[hsl(157,20%,63%)] — CSS variable: --color-primary: hsl(157, 20%, 63%);