HSL(185, 30%, 27%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(185,30%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(185, 30%, 27%) | color: hsl(185, 30%, 27%) | |
| HEX | #30565A | color: #30565A | |
| RGB | rgb(48, 86, 90) | color: rgb(48, 86, 90) | |
| CMYK | cmyk(47%, 4%, 0%, 65%) | — | |
| HSV | hsv(186, 47%, 35%) | — | |
| HWB | hwb(186 19% 65%) | color: hwb(186 19% 65%) | |
| OKLCH | oklch(0.4266 0.0438 204.33) | color: oklch(0.4266 0.0438 204.33) | |
| Lab | lab(34.03 -12.31 -6.56) | color: lab(34.03 -12.31 -6.56) | |
| LCH | lch(34.03 13.95 208.05) | color: lch(34.03 13.95 208.05) |
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)
#404159 — rgb(64, 65, 89)
Deuteranopia (Green-blind)
#3E3B59 — rgb(62, 59, 89)
Tritanopia (Blue-blind)
#325858 — rgb(50, 88, 88)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(185, 30%, 27%);
text
color: hsl(185, 30%, 27%);
border
border: 2px solid hsl(185, 30%, 27%);
gradient light
background: linear-gradient(to right, hsl(185, 30%, 47%), hsl(185, 30%, 27%));
gradient dark
background: linear-gradient(to right, hsl(185, 30%, 27%), hsl(185, 30%, 7%))
hex
background-color: #30565A;
tailwind
bg-[hsl(185,30%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(185, 30%, 27%, 0.4);
css variable
--color-primary: hsl(185, 30%, 27%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(185, 30%, 27%)?
HEX: #30565A | RGB: rgb(48, 86, 90) | CMYK: 47%, 4%, 0%, 65% | HSV: 186°, 47%, 35%. Copy any format from the conversion table above.
What colors go well with #30565A?
The complementary color is HSL(5, 30%, 27%). For a triadic harmony, use hues 185°, 305°, and 65°. For analogous combinations, try hues 155° and 215°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(185, 30%, 27%) in CSS?
As HSL: color: hsl(185, 30%, 27%); — As HEX: color: #30565A; — As RGB: color: rgb(48, 86, 90); — Tailwind CSS: bg-[hsl(185,30%,27%)] — CSS variable: --color-primary: hsl(185, 30%, 27%);