HSL(189, 60%, 40%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(189,60%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(189, 60%, 40%) | color: hsl(189, 60%, 40%) | |
| HEX | #2991A3 | color: #2991A3 | |
| RGB | rgb(41, 145, 163) | color: rgb(41, 145, 163) | |
| CMYK | cmyk(75%, 11%, 0%, 36%) | — | |
| HSV | hsv(189, 75%, 64%) | — | |
| HWB | hwb(189 16% 36%) | color: hwb(189 16% 36%) | |
| OKLCH | oklch(0.607 0.0944 211.88) | color: oklch(0.607 0.0944 211.88) | |
| Lab | lab(55.45 -22.71 -17.9) | color: lab(55.45 -22.71 -17.9) | |
| LCH | lch(55.45 28.92 218.25) | color: lch(55.45 28.92 218.25) |
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)
#56579F — rgb(86, 87, 159)
Deuteranopia (Green-blind)
#50489E — rgb(80, 72, 158)
Tritanopia (Blue-blind)
#2E9B9A — rgb(46, 155, 154)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(189, 60%, 40%);
text
color: hsl(189, 60%, 40%);
border
border: 2px solid hsl(189, 60%, 40%);
gradient light
background: linear-gradient(to right, hsl(189, 60%, 60%), hsl(189, 60%, 40%));
gradient dark
background: linear-gradient(to right, hsl(189, 60%, 40%), hsl(189, 60%, 20%))
hex
background-color: #2991A3;
tailwind
bg-[hsl(189,60%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(189, 60%, 40%, 0.4);
css variable
--color-primary: hsl(189, 60%, 40%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(189, 60%, 40%)?
HEX: #2991A3 | RGB: rgb(41, 145, 163) | CMYK: 75%, 11%, 0%, 36% | HSV: 189°, 75%, 64%. Copy any format from the conversion table above.
What colors go well with #2991A3?
The complementary color is HSL(9, 60%, 40%). For a triadic harmony, use hues 189°, 309°, and 69°. For analogous combinations, try hues 159° and 219°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(189, 60%, 40%) in CSS?
As HSL: color: hsl(189, 60%, 40%); — As HEX: color: #2991A3; — As RGB: color: rgb(41, 145, 163); — Tailwind CSS: bg-[hsl(189,60%,40%)] — CSS variable: --color-primary: hsl(189, 60%, 40%);