HSL(187, 40%, 55%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(187,40%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(187, 40%, 55%) | color: hsl(187, 40%, 55%) | |
| HEX | #5EAFBA | color: #5EAFBA | |
| RGB | rgb(94, 175, 186) | color: rgb(94, 175, 186) | |
| CMYK | cmyk(49%, 6%, 0%, 27%) | — | |
| HSV | hsv(187, 49%, 73%) | — | |
| HWB | hwb(187 37% 27%) | color: hwb(187 37% 27%) | |
| OKLCH | oklch(0.7068 0.0808 206.97) | color: oklch(0.7068 0.0808 206.97) | |
| Lab | lab(66.96 -21.74 -13.28) | color: lab(66.96 -21.74 -13.28) | |
| LCH | lch(66.96 25.48 211.42) | color: lch(66.96 25.48 211.42) |
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)
#8182B7 — rgb(129, 130, 183)
Deuteranopia (Green-blind)
#7C76B7 — rgb(124, 118, 183)
Tritanopia (Blue-blind)
#62B5B5 — rgb(98, 181, 181)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(187, 40%, 55%);
text
color: hsl(187, 40%, 55%);
border
border: 2px solid hsl(187, 40%, 55%);
gradient light
background: linear-gradient(to right, hsl(187, 40%, 75%), hsl(187, 40%, 55%));
gradient dark
background: linear-gradient(to right, hsl(187, 40%, 55%), hsl(187, 40%, 35%))
hex
background-color: #5EAFBA;
tailwind
bg-[hsl(187,40%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(187, 40%, 55%, 0.4);
css variable
--color-primary: hsl(187, 40%, 55%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(187, 40%, 55%)?
HEX: #5EAFBA | RGB: rgb(94, 175, 186) | CMYK: 49%, 6%, 0%, 27% | HSV: 187°, 49%, 73%. Copy any format from the conversion table above.
What colors go well with #5EAFBA?
The complementary color is HSL(7, 40%, 55%). For a triadic harmony, use hues 187°, 307°, and 67°. For analogous combinations, try hues 157° and 217°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(187, 40%, 55%) in CSS?
As HSL: color: hsl(187, 40%, 55%); — As HEX: color: #5EAFBA; — As RGB: color: rgb(94, 175, 186); — Tailwind CSS: bg-[hsl(187,40%,55%)] — CSS variable: --color-primary: hsl(187, 40%, 55%);