HSL(185, 52%, 25%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(185,52%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(185, 52%, 25%) | color: hsl(185, 52%, 25%) | |
| HEX | #1F5B61 | color: #1F5B61 | |
| RGB | rgb(31, 91, 97) | color: rgb(31, 91, 97) | |
| CMYK | cmyk(68%, 6%, 0%, 62%) | — | |
| HSV | hsv(185, 68%, 38%) | — | |
| HWB | hwb(185 12% 62%) | color: hwb(185 12% 62%) | |
| OKLCH | oklch(0.4355 0.0612 204.47) | color: oklch(0.4355 0.0612 204.47) | |
| Lab | lab(35.27 -16.93 -9.14) | color: lab(35.27 -16.93 -9.14) | |
| LCH | lch(35.27 19.24 208.36) | color: lch(35.27 19.24 208.36) |
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)
#393A60 — rgb(57, 58, 96)
Deuteranopia (Green-blind)
#36315F — rgb(54, 49, 95)
Tritanopia (Blue-blind)
#225E5E — rgb(34, 94, 94)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(185, 52%, 25%);
text
color: hsl(185, 52%, 25%);
border
border: 2px solid hsl(185, 52%, 25%);
gradient light
background: linear-gradient(to right, hsl(185, 52%, 45%), hsl(185, 52%, 25%));
gradient dark
background: linear-gradient(to right, hsl(185, 52%, 25%), hsl(185, 52%, 5%))
hex
background-color: #1F5B61;
tailwind
bg-[hsl(185,52%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(185, 52%, 25%, 0.4);
css variable
--color-primary: hsl(185, 52%, 25%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(185, 52%, 25%)?
HEX: #1F5B61 | RGB: rgb(31, 91, 97) | CMYK: 68%, 6%, 0%, 62% | HSV: 185°, 68%, 38%. Copy any format from the conversion table above.
What colors go well with #1F5B61?
The complementary color is HSL(5, 52%, 25%). 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, 52%, 25%) in CSS?
As HSL: color: hsl(185, 52%, 25%); — As HEX: color: #1F5B61; — As RGB: color: rgb(31, 91, 97); — Tailwind CSS: bg-[hsl(185,52%,25%)] — CSS variable: --color-primary: hsl(185, 52%, 25%);