HSL(157, 22%, 64%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(157,22%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(157, 22%, 64%) | color: hsl(157, 22%, 64%) | |
| HEX | #8FB7A8 | color: #8FB7A8 | |
| RGB | rgb(143, 183, 168) | color: rgb(143, 183, 168) | |
| CMYK | cmyk(22%, 0%, 8%, 28%) | — | |
| HSV | hsv(158, 22%, 72%) | — | |
| HWB | hwb(158 56% 28%) | color: hwb(158 56% 28%) | |
| OKLCH | oklch(0.7459 0.0481 170.06) | color: oklch(0.7459 0.0481 170.06) | |
| Lab | lab(71.24 -16.52 3.23) | color: lab(71.24 -16.52 3.23) | |
| LCH | lch(71.24 16.83 168.94) | color: lch(71.24 16.83 168.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)
#A0A1AC — rgb(160, 161, 172)
Deuteranopia (Green-blind)
#9E9BAD — rgb(158, 155, 173)
Tritanopia (Blue-blind)
#91AEAF — rgb(145, 174, 175)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(157, 22%, 64%);
text
color: hsl(157, 22%, 64%);
border
border: 2px solid hsl(157, 22%, 64%);
gradient light
background: linear-gradient(to right, hsl(157, 22%, 84%), hsl(157, 22%, 64%));
gradient dark
background: linear-gradient(to right, hsl(157, 22%, 64%), hsl(157, 22%, 44%))
hex
background-color: #8FB7A8;
tailwind
bg-[hsl(157,22%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(157, 22%, 64%, 0.4);
css variable
--color-primary: hsl(157, 22%, 64%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(157, 22%, 64%)?
HEX: #8FB7A8 | RGB: rgb(143, 183, 168) | CMYK: 22%, 0%, 8%, 28% | HSV: 158°, 22%, 72%. Copy any format from the conversion table above.
What colors go well with #8FB7A8?
The complementary color is HSL(337, 22%, 64%). 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, 22%, 64%) in CSS?
As HSL: color: hsl(157, 22%, 64%); — As HEX: color: #8FB7A8; — As RGB: color: rgb(143, 183, 168); — Tailwind CSS: bg-[hsl(157,22%,64%)] — CSS variable: --color-primary: hsl(157, 22%, 64%);