HSL(166, 26%, 50%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(166,26%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(166, 26%, 50%) | color: hsl(166, 26%, 50%) | |
| HEX | #5EA191 | color: #5EA191 | |
| RGB | rgb(94, 161, 145) | color: rgb(94, 161, 145) | |
| CMYK | cmyk(42%, 0%, 10%, 37%) | — | |
| HSV | hsv(166, 42%, 63%) | — | |
| HWB | hwb(166 37% 37%) | color: hwb(166 37% 37%) | |
| OKLCH | oklch(0.6596 0.073 176.85) | color: oklch(0.6596 0.073 176.85) | |
| Lab | lab(61.58 -25.22 1.66) | color: lab(61.58 -25.22 1.66) | |
| LCH | lch(61.58 25.27 176.23) | color: lch(61.58 25.27 176.23) |
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)
#7B7C95 — rgb(123, 124, 149)
Deuteranopia (Green-blind)
#777296 — rgb(119, 114, 150)
Tritanopia (Blue-blind)
#619899 — rgb(97, 152, 153)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(166, 26%, 50%);
text
color: hsl(166, 26%, 50%);
border
border: 2px solid hsl(166, 26%, 50%);
gradient light
background: linear-gradient(to right, hsl(166, 26%, 70%), hsl(166, 26%, 50%));
gradient dark
background: linear-gradient(to right, hsl(166, 26%, 50%), hsl(166, 26%, 30%))
hex
background-color: #5EA191;
tailwind
bg-[hsl(166,26%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(166, 26%, 50%, 0.4);
css variable
--color-primary: hsl(166, 26%, 50%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(166, 26%, 50%)?
HEX: #5EA191 | RGB: rgb(94, 161, 145) | CMYK: 42%, 0%, 10%, 37% | HSV: 166°, 42%, 63%. Copy any format from the conversion table above.
What colors go well with #5EA191?
The complementary color is HSL(346, 26%, 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, 26%, 50%) in CSS?
As HSL: color: hsl(166, 26%, 50%); — As HEX: color: #5EA191; — As RGB: color: rgb(94, 161, 145); — Tailwind CSS: bg-[hsl(166,26%,50%)] — CSS variable: --color-primary: hsl(166, 26%, 50%);