HSL(186, 77%, 51%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(186,77%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(186, 77%, 51%) | color: hsl(186, 77%, 51%) | |
| HEX | #22CFE2 | color: #22CFE2 | |
| RGB | rgb(34, 207, 226) | color: rgb(34, 207, 226) | |
| CMYK | cmyk(85%, 8%, 0%, 11%) | — | |
| HSV | hsv(186, 85%, 89%) | — | |
| HWB | hwb(186 13% 11%) | color: hwb(186 13% 11%) | |
| OKLCH | oklch(0.7829 0.1294 206.96) | color: oklch(0.7829 0.1294 206.96) | |
| Lab | lab(76.35 -33.97 -21.06) | color: lab(76.35 -33.97 -21.06) | |
| LCH | lch(76.35 39.97 211.8) | color: lch(76.35 39.97 211.8) |
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)
#6D6EDD — rgb(109, 110, 221)
Deuteranopia (Green-blind)
#6356DC — rgb(99, 86, 220)
Tritanopia (Blue-blind)
#2BDAD9 — rgb(43, 218, 217)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(186, 77%, 51%);
text
color: hsl(186, 77%, 51%);
border
border: 2px solid hsl(186, 77%, 51%);
gradient light
background: linear-gradient(to right, hsl(186, 77%, 71%), hsl(186, 77%, 51%));
gradient dark
background: linear-gradient(to right, hsl(186, 77%, 51%), hsl(186, 77%, 31%))
hex
background-color: #22CFE2;
tailwind
bg-[hsl(186,77%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(186, 77%, 51%, 0.4);
css variable
--color-primary: hsl(186, 77%, 51%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(186, 77%, 51%)?
HEX: #22CFE2 | RGB: rgb(34, 207, 226) | CMYK: 85%, 8%, 0%, 11% | HSV: 186°, 85%, 89%. Copy any format from the conversion table above.
What colors go well with #22CFE2?
The complementary color is HSL(6, 77%, 51%). For a triadic harmony, use hues 186°, 306°, and 66°. For analogous combinations, try hues 156° and 216°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(186, 77%, 51%) in CSS?
As HSL: color: hsl(186, 77%, 51%); — As HEX: color: #22CFE2; — As RGB: color: rgb(34, 207, 226); — Tailwind CSS: bg-[hsl(186,77%,51%)] — CSS variable: --color-primary: hsl(186, 77%, 51%);