HSL(187, 47%, 34%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(187,47%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(187, 47%, 34%) | color: hsl(187, 47%, 34%) | |
| HEX | #2E767F | color: #2E767F | |
| RGB | rgb(46, 118, 127) | color: rgb(46, 118, 127) | |
| CMYK | cmyk(64%, 7%, 0%, 50%) | — | |
| HSV | hsv(187, 64%, 50%) | — | |
| HWB | hwb(187 18% 50%) | color: hwb(187 18% 50%) | |
| OKLCH | oklch(0.5247 0.0718 206.6) | color: oklch(0.5247 0.0718 206.6) | |
| Lab | lab(45.73 -19.24 -11.6) | color: lab(45.73 -19.24 -11.6) | |
| LCH | lch(45.73 22.47 211.09) | color: lch(45.73 22.47 211.09) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#4D4E7D — rgb(77, 78, 125)
Deuteranopia (Green-blind)
#49447C — rgb(73, 68, 124)
Tritanopia (Blue-blind)
#327B7B — rgb(50, 123, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(187, 47%, 34%);
text
color: hsl(187, 47%, 34%);
border
border: 2px solid hsl(187, 47%, 34%);
gradient light
background: linear-gradient(to right, hsl(187, 47%, 54%), hsl(187, 47%, 34%));
gradient dark
background: linear-gradient(to right, hsl(187, 47%, 34%), hsl(187, 47%, 14%))
hex
background-color: #2E767F;
tailwind
bg-[hsl(187,47%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(187, 47%, 34%, 0.4);
css variable
--color-primary: hsl(187, 47%, 34%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(187, 47%, 34%)?
HEX: #2E767F | RGB: rgb(46, 118, 127) | CMYK: 64%, 7%, 0%, 50% | HSV: 187°, 64%, 50%. Copy any format from the conversion table above.
What colors go well with #2E767F?
The complementary color is HSL(7, 47%, 34%). 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, 47%, 34%) in CSS?
As HSL: color: hsl(187, 47%, 34%); — As HEX: color: #2E767F; — As RGB: color: rgb(46, 118, 127); — Tailwind CSS: bg-[hsl(187,47%,34%)] — CSS variable: --color-primary: hsl(187, 47%, 34%);