HSL(172, 22%, 64%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(172,22%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(172, 22%, 64%) | color: hsl(172, 22%, 64%) | |
| HEX | #8FB7B2 | color: #8FB7B2 | |
| RGB | rgb(143, 183, 178) | color: rgb(143, 183, 178) | |
| CMYK | cmyk(22%, 0%, 3%, 28%) | — | |
| HSV | hsv(173, 22%, 72%) | — | |
| HWB | hwb(173 56% 28%) | color: hwb(173 56% 28%) | |
| OKLCH | oklch(0.7489 0.0435 186.86) | color: oklch(0.7489 0.0435 186.86) | |
| Lab | lab(71.5 -14.41 -1.86) | color: lab(71.5 -14.41 -1.86) | |
| LCH | lch(71.5 14.53 187.35) | color: lch(71.5 14.53 187.35) |
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)
#A0A1B3 — rgb(160, 161, 179)
Deuteranopia (Green-blind)
#9E9BB4 — rgb(158, 155, 180)
Tritanopia (Blue-blind)
#91B4B4 — rgb(145, 180, 180)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(172, 22%, 64%);
text
color: hsl(172, 22%, 64%);
border
border: 2px solid hsl(172, 22%, 64%);
gradient light
background: linear-gradient(to right, hsl(172, 22%, 84%), hsl(172, 22%, 64%));
gradient dark
background: linear-gradient(to right, hsl(172, 22%, 64%), hsl(172, 22%, 44%))
hex
background-color: #8FB7B2;
tailwind
bg-[hsl(172,22%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(172, 22%, 64%, 0.4);
css variable
--color-primary: hsl(172, 22%, 64%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(172, 22%, 64%)?
HEX: #8FB7B2 | RGB: rgb(143, 183, 178) | CMYK: 22%, 0%, 3%, 28% | HSV: 173°, 22%, 72%. Copy any format from the conversion table above.
What colors go well with #8FB7B2?
The complementary color is HSL(352, 22%, 64%). For a triadic harmony, use hues 172°, 292°, and 52°. For analogous combinations, try hues 142° and 202°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(172, 22%, 64%) in CSS?
As HSL: color: hsl(172, 22%, 64%); — As HEX: color: #8FB7B2; — As RGB: color: rgb(143, 183, 178); — Tailwind CSS: bg-[hsl(172,22%,64%)] — CSS variable: --color-primary: hsl(172, 22%, 64%);