HSL(186, 83%, 28%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(186,83%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(186, 83%, 28%) | color: hsl(186, 83%, 28%) | |
| HEX | #0C7783 | color: #0C7783 | |
| RGB | rgb(12, 119, 131) | color: rgb(12, 119, 131) | |
| CMYK | cmyk(91%, 9%, 0%, 49%) | — | |
| HSV | hsv(186, 91%, 51%) | — | |
| HWB | hwb(186 5% 49%) | color: hwb(186 5% 49%) | |
| OKLCH | oklch(0.5215 0.087 207.44) | color: oklch(0.5215 0.087 207.44) | |
| Lab | lab(45.51 -22.63 -14.38) | color: lab(45.51 -22.63 -14.38) | |
| LCH | lch(45.51 26.81 212.43) | color: lch(45.51 26.81 212.43) |
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)
#3A3B80 — rgb(58, 59, 128)
Deuteranopia (Green-blind)
#342C7F — rgb(52, 44, 127)
Tritanopia (Blue-blind)
#117E7D — rgb(17, 126, 125)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(186, 83%, 28%);
text
color: hsl(186, 83%, 28%);
border
border: 2px solid hsl(186, 83%, 28%);
gradient light
background: linear-gradient(to right, hsl(186, 83%, 48%), hsl(186, 83%, 28%));
gradient dark
background: linear-gradient(to right, hsl(186, 83%, 28%), hsl(186, 83%, 8%))
hex
background-color: #0C7783;
tailwind
bg-[hsl(186,83%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(186, 83%, 28%, 0.4);
css variable
--color-primary: hsl(186, 83%, 28%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(186, 83%, 28%)?
HEX: #0C7783 | RGB: rgb(12, 119, 131) | CMYK: 91%, 9%, 0%, 49% | HSV: 186°, 91%, 51%. Copy any format from the conversion table above.
What colors go well with #0C7783?
The complementary color is HSL(6, 83%, 28%). For a triadic harmony, use hues 186°, 306°, and 66°. For analogous combinations, try hues 156° and 216°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(186, 83%, 28%) in CSS?
As HSL: color: hsl(186, 83%, 28%); — As HEX: color: #0C7783; — As RGB: color: rgb(12, 119, 131); — Tailwind CSS: bg-[hsl(186,83%,28%)] — CSS variable: --color-primary: hsl(186, 83%, 28%);