HSL(166, 46%, 50%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(166,46%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(166, 46%, 50%) | color: hsl(166, 46%, 50%) | |
| HEX | #45BA9F | color: #45BA9F | |
| RGB | rgb(69, 186, 159) | color: rgb(69, 186, 159) | |
| CMYK | cmyk(63%, 0%, 15%, 27%) | — | |
| HSV | hsv(166, 63%, 73%) | — | |
| HWB | hwb(166 27% 27%) | color: hwb(166 27% 27%) | |
| OKLCH | oklch(0.7158 0.1122 174.83) | color: oklch(0.7158 0.1122 174.83) | |
| Lab | lab(68.67 -39.26 4.04) | color: lab(68.67 -39.26 4.04) | |
| LCH | lch(68.67 39.47 174.12) | color: lch(68.67 39.47 174.12) |
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)
#7879A6 — rgb(120, 121, 166)
Deuteranopia (Green-blind)
#7168A7 — rgb(113, 104, 167)
Tritanopia (Blue-blind)
#4BABAC — rgb(75, 171, 172)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(166, 46%, 50%);
text
color: hsl(166, 46%, 50%);
border
border: 2px solid hsl(166, 46%, 50%);
gradient light
background: linear-gradient(to right, hsl(166, 46%, 70%), hsl(166, 46%, 50%));
gradient dark
background: linear-gradient(to right, hsl(166, 46%, 50%), hsl(166, 46%, 30%))
hex
background-color: #45BA9F;
tailwind
bg-[hsl(166,46%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(166, 46%, 50%, 0.4);
css variable
--color-primary: hsl(166, 46%, 50%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(166, 46%, 50%)?
HEX: #45BA9F | RGB: rgb(69, 186, 159) | CMYK: 63%, 0%, 15%, 27% | HSV: 166°, 63%, 73%. Copy any format from the conversion table above.
What colors go well with #45BA9F?
The complementary color is HSL(346, 46%, 50%). For a triadic harmony, use hues 166°, 286°, and 46°. For analogous combinations, try hues 136° and 196°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(166, 46%, 50%) in CSS?
As HSL: color: hsl(166, 46%, 50%); — As HEX: color: #45BA9F; — As RGB: color: rgb(69, 186, 159); — Tailwind CSS: bg-[hsl(166,46%,50%)] — CSS variable: --color-primary: hsl(166, 46%, 50%);